Created
January 21, 2016 14:36
-
-
Save biske/69e3e624c87907d1954e to your computer and use it in GitHub Desktop.
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
To find Company which name contains Google run: | |
$ Company.where("name ilike '%Google%'") | |
Or even better: | |
$ Company.where("name ilike '%Google%'").pluck(:name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment