Displaying 1 result from an estimated 1 matches for "user_result_pages".
2006 Aug 17
8
Creating queries..
Hi, I am trying to implement a few queries now. What are good ways to do
this?
Right now, I have a list page that does sorting and can carry out a
generic pagination request.
@user_result_pages, @user_results = paginate(:user_results,
:per_page => 20,
:conditions => @condition,
:order_by => @sort_order)
I create @sort_order earlier in the list function. The problem I am
having is with ''@condition'' I''m not sure what''s the best way to create
t...