lib/relaxo/model/properties/bigdecimal.rb in relaxo-model-0.5.1 vs lib/relaxo/model/properties/bigdecimal.rb in relaxo-model-0.9.0

- old
+ new

@@ -26,10 +26,10 @@ Attribute.for_class(BigDecimal) do def convert_to_primative(value) value.to_s('F') end - def convert_from_primative(database, value) + def convert_from_primative(dataset, value) value.to_d end end end end