Regex Check within Condition #260

nvijayap opened this Issue Aug 29, 2012 · 1 comment


None yet

2 participants



Is it possible to do a Regex check within the :conditions => [...] ?

What I am trying to do is - checking whether the content of a column matches a Regex Pattern.

Has anyone tried it?

In essence, the question is - Are we limited to only sql query filters, or can we do regex pattern match check also?

Naga Vijay


Hey! Closing this because it doesn't seem related to will_paginate. You'll want to read up on ActiveRecod documentation to find out what can you use in queries. Take a look also at the Rails Guides.

@mislav mislav closed this Jan 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment