Regex Check within Condition #260

Closed
nvijayap opened this Issue Aug 29, 2012 · 1 comment

Projects

None yet

2 participants

@nvijayap

Hi,

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?

Thanks
Naga Vijay

@mislav
Owner

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