diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb b/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb new file mode 100644 index 0000000000..dcdb08aea0 --- /dev/null +++ b/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb @@ -0,0 +1,6 @@ +class BigDecimal #:nodoc: + alias :_original_to_s :to_s + def to_s(format="F") + _original_to_s(format) + end +end |