Source: show | on GitHub
# File activesupport/lib/active_support/json/encoding.rb, line 181 181: def as_json(options = nil) to_s end
Symbols are not duplicable:
:my_symbol.duplicable? # => false :my_symbol.dup # => TypeError: can't dup Symbol
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 68 68: def duplicable? 69: false 70: end