lib/cantango/rules/adaptor/mongoid.rb in cantango-0.9.3.2 vs lib/cantango/rules/adaptor/mongoid.rb in cantango-0.9.4
- old
+ new
@@ -1,13 +1,9 @@
module CanTango
module Rules
module Adaptor
module Mongoid
- #include CanTango::Rules::Adaptor::Generic
- # using #in on Hash (Mongoid query)
- def list_include
- { scope_key.in => user_scope.send(attribute) }
- end
+ include module CanTango::Rules::Adaptor::Mongo
end
end
end
end