Update paginator docs. Closes #2744.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2005-11-05 02:10:29 +00:00
parent f35792974a
commit ad4e611488

View File

@@ -49,7 +49,8 @@ module ActionController
# def list
# @person_pages = Paginator.new self, Person.count, 10, @params['page']
# @people = Person.find :all, :order => 'last_name, first_name',
# :conditions => @person_pages.current.to_sql
# :limit => @person_pages.items_per_page,
# :offset => @person_pages.current.offset
# end
#
# Explicitly creates the paginator from the previous example and uses