Displaying 1 result from an estimated 1 matches for "albums_upcom".
2007 May 19
0
database outputting results twice per page (using pagination + sorthelper)
...;], @params[''order''], ''date'', ''ASC''
@albums_pages = Paginator.new self, Albums.count, 5, @params[''page'']
@upcoming = Albums.find_all nil, @sorter.to_sql,
@albums_pages.current.to_sql
render :layout => ''albums_upcoming''
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe fro...