Created
September 7, 2015 09:51
-
-
Save devhero/17cf4e1020eca6b5d299 to your computer and use it in GitHub Desktop.
arel where case insensitive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| t = Table.arel_table | |
| Table.where(t[:name].matches('%findme%')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment