search for: linktype_remote

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

2005 Aug 04
1
Pagination and :include (eager associations)
...nks = Link.find_all nil, sort_clause, @link_pages.current.to_sql # limit = @link_pages.current.to_sql.first # offset = @link_pages.current.to_sql.last # @links = Link.find( :all, :order => sort_clause, :limit => limit, :offset => offset, # :include => [:linktype_remote] ) Is there a reason for not allowing :include in the pagination? or an oversight? Time to write a patch? Jens-Christian -- InVisible GmbH, Langgrütstrasse 172, 8047 Zürich Phone: +41 44 401 09 30 http://www.invisible.ch http://not.invisible.ch