From 308d8f99f79748d1bf36a7c5e12187b8628e1b28 Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Fri, 15 Nov 2013 14:04:07 -0800 Subject: The option is called encode_big_decimal_as_string [ci-skip] --- activesupport/lib/active_support/core_ext/object/json.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ActiveSupport.use_standard_json_big_decimal_format = true to + # Use ActiveSupport.encode_big_decimal_as_string = true to # override this behavior. def as_json(options = nil) #:nodoc: if finite? -- cgit v1.2.3