lib/attr_cleaner.rb in attr_cleaner-0.0.2 vs lib/attr_cleaner.rb in attr_cleaner-0.0.3

- old
+ new

@@ -1,2 +1,10 @@ +require "active_support" +require "active_record" + +require "active_support/core_ext/module/aliasing" +require "active_support/concern" + +# If not using active_record require attr_cleaner/module_mixin +# and include it into your own ORM. require "attr_cleaner/module_mixin" -require "attr_cleaner/railtie" if defined?(Rails) +ActiveRecord::Base.send(:include, AttrCleaner::ModuleMixin) \ No newline at end of file