Displaying 2 results from an estimated 2 matches for "find_filt".
Did you mean:
find_file
2006 Jul 31
1
Pagination of Complex Queries
I''ve created a class method in my model called find_filtered. The intent is
that I take various params that the user has submitted, and let the model
build the query and return the AR collection, which is exactly what happens.
However, now I''d like to paginate the recordset. Everything I''ve been able
to find about pagination presumes t...
2006 Jul 28
2
ez_where: Stuck Again
I just keep thinking this is going to slice through queries like a hot knife
through butter, but... there''s something I''m not getting. Here''s the gist:
# get the people like the search criteria
Members.find(:all, :conditions => [''first LIKE ? OR last LIKE ?'',
params[:search], params[:search])
joined with the alternative of