lib/active_data.rb in active_data-1.1.5 vs lib/active_data.rb in active_data-1.1.6

- old
+ new

@@ -98,10 +98,10 @@ end end typecaster('BigDecimal') do |value| next unless value begin - ::BigDecimal.new Float(value).to_s + BigDecimal(Float(value).to_s) rescue ArgumentError, TypeError nil end end typecaster('Float') do |value|