Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Street.any_of({ :value => /.*#{params[:q]}.*/i }))
- :value => /.*#{Regexp.quote(params[:q])}.*/i
- :value => /#{Regexp.quote(params[:q])}/i
- :value => Regexp.union(params[:q])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement