lib/permalink.rb in permalink-1.1.0 vs lib/permalink.rb in permalink-1.1.1

- old
+ new

@@ -2,7 +2,7 @@ require "permalink/orm/base" require "permalink/orm/active_record" require "permalink/orm/mongo_mapper" require "permalink/orm/mongoid" -ActiveRecord::Base.send(:include, Permalink::Orm::ActiveRecord) +ActiveRecord::Base.send(:include, Permalink::Orm::ActiveRecord) if defined?(ActiveRecord) Mongoid::Document::ClassMethods.send(:include, Permalink::Orm::Mongoid) if defined?(Mongoid)