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:
parent
96d0fd75ad
commit
7f1235adb5
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue