lib/valle/hooks.rb in valle-1.1.1 vs lib/valle/hooks.rb in valle-1.1.2

- old
+ new

@@ -27,10 +27,10 @@ ## # Runs all the hooks, required for this gem # def run - ActiveRecord::Base.singleton_class.include(Valle::ActiveRecordExt) + ActiveRecord::Base.singleton_class.prepend(Valle::ActiveRecordExt) end ## # Adds validators to subclass #