lib/superstore/persistence.rb in superstore-1.0.4 vs lib/superstore/persistence.rb in superstore-1.0.5

- old
+ new

@@ -65,10 +65,10 @@ end def typecast_persisted_attributes(object, attributes) attributes.each do |key, value| if definition = attribute_definitions[key] - attributes[key] = definition.instantiate(object, value) + attributes[key] = definition.instantiate(value) else attributes.delete(key) end end