Forum: Ruby on Rails Page-by-page iterator pattern

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ad411880cdcaf541c1a3c7268fc479fc?d=identicon&s=25 Alvaro Perez (kabish)
on 2007-07-30 12:50
Hi all,

anyone knows where to find examples or documentation on how to implement
the page-by-page iterator pattern* in RoR?

Thanks,
Alvaro


*Page-by-page iterator pattern: you have a large amount of data and want
to show it divided in many pages, providing "next page" and "previous
page" links.
A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (au5lander)
on 2007-07-30 13:07
(Received via mailing list)
there is the built in paginator, which i don't recommend, and there
are several different plugins/gems which cam be used as replacements.

paginating_find [1]
will_paginate [2]
paginator gem [3]

[1] http://cardboardrocket.com/pages/paginating_find
[2] http://plugins.require.errtheblog.com/browser
[3] http://paginator.rubyforge.org/
Ad411880cdcaf541c1a3c7268fc479fc?d=identicon&s=25 Alvaro Perez (kabish)
on 2007-07-30 13:57
Thank you very much, Chris.
This topic is locked and can not be replied to.