activerecord-hackery/ransack — pull request #449 by joeyates (2014-10-17 12:06:51+00:00)
Title: Check exact matches before splitting

* if the supplied name contains '_and_' or '_or_' we should check
if it exists before splitting and checking the parts, this way we
handle 'terms_and_conditions' as well as pairs of fields like
'name_and_email'.