Displaying 1 result from an estimated 1 matches for "first_name_like".
2005 Dec 19
2
Advanced search/filter use cases
...and Pagination to support these search features in a more
elegant way.
For example, imagine you could do something like:
@bobs = Person.search(:min_birth_date => ''2002-05-01'',
:max_birth_date => ''2003-05-01'',
:first_name_like => ''obert'',
:last_name_starts_with => ''Mac'',
:gender => ''Male'')
and have it recognize the "min_", "max_" and "_like" modifiers and
automatically build a query...