ransack icon indicating copy to clipboard operation
ransack copied to clipboard

Custom ransackers not following case-insensitive behavior

Open RaymondFallon opened this issue 2 years ago • 0 comments

When defining a custom ransacker and using it in combination with a case-insensitive predicate, the case-insensitivity is not being correctly applied (on SQLite and other adapters lacking the ILIKE operator).

For an example, see this Gist demonstrating case insensitivity being applied correctly to a default ransacker, first_name, but not being applied to a custom ransacker, full_name:

https://gist.github.com/RaymondFallon/aa49b5c5e317f208c0ac5e527ea2bf77

RaymondFallon avatar Aug 19 '22 14:08 RaymondFallon