Follow-up to #405: rename case insensitive queries

icon => i_cont
inot_cont => i_not_cont
This commit is contained in:
Jon Atack 2014-08-25 14:42:12 +02:00
parent e791a60dbc
commit ef9208027b
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ module Ransack
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}
],
['icont', {
['i_cont', {
:arel_predicate => 'i_matches',
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}
@ -22,7 +22,7 @@ module Ransack
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}
],
['inot_cont', {
['i_not_cont', {
:arel_predicate => 'i_does_not_match',
:formatter => proc { |v| "%#{escape_wildcards(v)}%" }
}