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