Created
February 4, 2018 21:24
-
-
Save ShimShtein/10ef9d2d48d32801277aad3a4170d699 to your computer and use it in GitHub Desktop.
This file contains 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
arel = Nic::Base.arel_table | |
like_ast = arel[:identifier].matches(pattern, InterfaceCleaner::ESCAPE_CHAR, true) | |
Nic::Base.where(like_ast).pluck(:identifier) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment