lib/soulless/model.rb in soulless-0.4.0 vs lib/soulless/model.rb in soulless-0.4.1
- old
+ new
@@ -13,12 +13,12 @@
:soulless
end
end
def initialize(params = {})
+ init_accessors(attribute_set.map { |a| a.name })
super
init_dirty
- init_accessors(attribute_set.map { |a| a.name })
end
def persisted?
false
end
\ No newline at end of file