lib/active_support/json/encoders/symbol.rb in activesupport-2.3.2 vs lib/active_support/json/encoders/symbol.rb in activesupport-2.3.3
- old
+ new
@@ -1,5 +1,5 @@
class Symbol
- def to_json(options = {}) #:nodoc:
- ActiveSupport::JSON.encode(to_s, options)
+ def as_json(options = nil) #:nodoc:
+ to_s
end
end