提交 308d8f99 编写于 作者: G Godfrey Chan

The option is called encode_big_decimal_as_string [ci-skip]

上级 4a98938f
......@@ -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?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册