Hi folks, first I would like to thank you all for the great work!
I need to use LIKE instead ILIKE (for performance reasons) when using cont predicate. I've checked https://github.com/rails/arel/blob/master/lib/arel/predications.rb#L121 and I know that we can turn the search case sensitive just by passing case_sensitive = true to the matches method.
I am creating a new predicate and the add_predicate method has the option arel_predicate that seems to only accept a string.
Is that possible to pass case_sensitive = true when using the matches predicate?
I am using arel (6.0.3).
Thank in advance.
Hi folks, first I would like to thank you all for the great work!
I need to use
LIKEinsteadILIKE(for performance reasons) when usingcontpredicate. I've checked https://github.com/rails/arel/blob/master/lib/arel/predications.rb#L121 and I know that we can turn the search case sensitive just by passingcase_sensitive = trueto thematchesmethod.I am creating a new predicate and the
add_predicatemethod has the optionarel_predicatethat seems to only accept a string.Is that possible to pass
case_sensitive = truewhen using thematchespredicate?I am using
arel (6.0.3).Thank in advance.