Permalink
Browse files

The option is called encode_big_decimal_as_string [ci-skip]

  • Loading branch information...
1 parent 4a98938 commit 308d8f99f79748d1bf36a7c5e12187b8628e1b28 @chancancode chancancode committed Nov 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/object/json.rb
@@ -115,7 +115,7 @@ class BigDecimal
# BigDecimal, it still has the chance to post-process the string and get the
# real value.
#
- # Use <tt>ActiveSupport.use_standard_json_big_decimal_format = true</tt> to
+ # Use <tt>ActiveSupport.encode_big_decimal_as_string = true</tt> to
# override this behavior.
def as_json(options = nil) #:nodoc:
if finite?

0 comments on commit 308d8f9

Please sign in to comment.