From 7a979b2c5735e8475f73b99fd8b1a17a3c583efa Mon Sep 17 00:00:00 2001 From: Akshay Vishnoi Date: Fri, 13 Jun 2014 07:12:26 +0530 Subject: [ci skip] BigDecimal#duplicable? returns false in 1.9.x --- activesupport/lib/active_support/core_ext/object/duplicable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/core_ext/object/duplicable.rb b/activesupport/lib/active_support/core_ext/object/duplicable.rb index 3d2c809c9f..c5d59128e5 100644 --- a/activesupport/lib/active_support/core_ext/object/duplicable.rb +++ b/activesupport/lib/active_support/core_ext/object/duplicable.rb @@ -19,7 +19,7 @@ class Object # Can you safely dup this object? # - # False for +nil+, +false+, +true+, symbol, and number objects; + # False for +nil+, +false+, +true+, symbol, number and BigDecimal(in 1.9.x) objects; # true otherwise. def duplicable? true -- cgit v1.2.3