lib/toy/dolly.rb in toystore-0.6.4 vs lib/toy/dolly.rb in toystore-0.6.5
- old
+ new
@@ -3,10 +3,10 @@
extend ActiveSupport::Concern
def initialize_copy(other)
@_new_record = true
@_destroyed = false
- @attributes = {}.with_indifferent_access
+ @attributes = {}
self.class.embedded_lists.each do |name, list|
instance_variable_set(list.instance_variable, nil)
end
\ No newline at end of file