lib/dm-rails/multiparameter_attributes.rb in ardm-rails-1.3.0 vs lib/dm-rails/multiparameter_attributes.rb in ardm-rails-1.3.1

- old
+ new

@@ -108,10 +108,10 @@ if values.empty? attributes[name] = nil next end - klass = properties[name].dump_class + klass = properties[name].primitive begin attributes[name] = if klass == Time Time.local(*values) elsif klass == Date