1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

Add new method stubs for mongoid

This commit is contained in:
Andrew Vit 2016-02-16 12:30:28 -08:00
parent 96d0fd75ad
commit 7f1235adb5

View file

@ -96,6 +96,14 @@ module Ransack
end
end
def lock_association(association)
warn "lock_association is not implemented for Ransack mongoid adapter" if $DEBUG
end
def remove_association(association)
warn "remove_association is not implemented for Ransack mongoid adapter" if $DEBUG
end
private
def get_parent_and_attribute_name(str, parent = @base)