search for: reo_ids

Displaying 1 result from an estimated 1 matches for "reo_ids".

Did you mean: reo_id
2005 Nov 02
1
getting pagination to work on joined tables
...Reo.count(conds.join('' AND ''), ''JOIN lang_reos ON reos.id = reo_id''), RECS_PER_PAGE, params[:page] # then I find out which ids count on for current page limit, offset = @reos_pages.current.to_sql reo_ids = Reo.find :all, :conditions => conds.join('' AND ''), :joins => ''JOIN lang_reos ON reos.id = reo_id'', :order => ''ref_id ASC'', :limit => limit, :offset => offset # and fin...