lib/soulless.rb in soulless-0.3.0 vs lib/soulless.rb in soulless-0.4.0
- old
+ new
@@ -1,10 +1,11 @@
require 'virtus'
require 'securerandom'
require 'active_support'
require 'active_model'
+require 'soulless/accessors'
require 'soulless/associations'
require 'soulless/dirty'
require 'soulless/model'
require 'soulless/validations'
require 'soulless/version'
@@ -18,9 +19,10 @@
object.send(:include, Virtus.model(options))
object.send(:include, Model)
object.send(:include, Associations)
object.send(:include, Validations)
object.send(:include, Dirty)
+ object.send(:include, Accessors)
end
mod
end
end