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

Remove currently unused predicate definitions

This commit is contained in:
Jon Atack 2014-11-05 19:42:51 +01:00
parent f4bb87fdce
commit 49774fdd1f

View file

@ -8,21 +8,11 @@ module Ransack
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}
],
['i_cont'.freeze, {
:arel_predicate => 'i_matches'.freeze,
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}
],
['not_cont'.freeze, {
:arel_predicate => 'does_not_match'.freeze,
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}
],
['i_not_cont'.freeze, {
:arel_predicate => 'i_does_not_match'.freeze,
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}
],
['start'.freeze, {
:arel_predicate => 'matches'.freeze,
:formatter => proc { |v| "#{escape_wildcards(v)}%" }