Displaying 1 result from an estimated 1 matches for "event_pages".
Did you mean:
event_names
2006 Apr 23
0
Pagination issue because of join
My current code is like this:
query = "desc_uf like ''%" + session[:search_term] + "%''"
@event_pages, @events = paginate :events, :per_page => 10
,:conditions => query ,:order => "start_date DESC"
This query is made against table ''EVENTS'' and everything works fine.
Now the query gets complex. I need to make a join to a different table
namely ''STA...