diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2013-11-15 14:04:07 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2013-11-15 14:04:07 -0800 |
commit | 308d8f99f79748d1bf36a7c5e12187b8628e1b28 (patch) | |
tree | 948ba7ac06a05e3bb40c6ef5a7a6762b7ad7d7a4 /activesupport/lib | |
parent | 4a98938ff4de038e003ec091e5e663876e4f3817 (diff) | |
download | rails-308d8f99f79748d1bf36a7c5e12187b8628e1b28.tar.gz rails-308d8f99f79748d1bf36a7c5e12187b8628e1b28.tar.bz2 rails-308d8f99f79748d1bf36a7c5e12187b8628e1b28.zip |
The option is called encode_big_decimal_as_string [ci-skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/json.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/json.rb b/activesupport/lib/active_support/core_ext/object/json.rb index 898c3f4307..f67b09c993 100644 --- a/activesupport/lib/active_support/core_ext/object/json.rb +++ b/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? |