lib/permalink.rb in permalink-1.2.1 vs lib/permalink.rb in permalink-1.2.2
- old
+ new
@@ -1,8 +1,5 @@
+require "active_record"
require "permalink/string_ext"
-require "permalink/orm/base"
-require "permalink/orm/active_record"
-require "permalink/orm/mongo_mapper"
-require "permalink/orm/mongoid"
+require "permalink/active_record"
-ActiveRecord::Base.send(:include, Permalink::Orm::ActiveRecord) if defined?(ActiveRecord)
-Mongoid::Document::ClassMethods.send(:include, Permalink::Orm::Mongoid) if defined?(Mongoid)
+ActiveRecord::Base.send(:include, Permalink::ActiveRecord)