Forum: Ruby on Rails Pagination

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.
85e05b7260af81cbacfea7e7ed4f40fb?d=identicon&s=25 Guest (Guest)
on 2006-06-07 18:57
Does anyone know if there's a plugin to do pagination numbers like:

Prev 1 2 3 4 5 etc Next

And automatically move through the pages?

Thanks.
85e05b7260af81cbacfea7e7ed4f40fb?d=identicon&s=25 Guest (Guest)
on 2006-06-07 19:35
Or if not, does anyone know the best way to do it?

Once it gets to the limit (say 10) it should read:

Prev 10 11 12 13 etc Next

Guest wrote:
> Does anyone know if there's a plugin to do pagination numbers like:
>
> Prev 1 2 3 4 5 etc Next
>
> And automatically move through the pages?
>
> Thanks.
119af50160cabfe1fb6f2f05f5018c64?d=identicon&s=25 James Ludlow (Guest)
on 2006-06-07 19:48
(Received via mailing list)
On 6/7/06, Guest <blamemike@gmail.com> wrote:
>
> Or if not, does anyone know the best way to do it?
>
> Once it gets to the limit (say 10) it should read:
>
> Prev 10 11 12 13 etc Next

Have you read this yet?
http://wiki.rubyonrails.org/rails/pages/HowtoPagination
85e05b7260af81cbacfea7e7ed4f40fb?d=identicon&s=25 Guest (Guest)
on 2006-06-07 19:58
Yes James. Thanks. But I was hoping there was a way to hide show the
page I'm past like 1..10 then hit next and it'll be like 10...20.
Nothing about that in there.

Thanks though.

James Ludlow wrote:
> On 6/7/06, Guest <blamemike@gmail.com> wrote:
>>
>> Or if not, does anyone know the best way to do it?
>>
>> Once it gets to the limit (say 10) it should read:
>>
>> Prev 10 11 12 13 etc Next
>
> Have you read this yet?
> http://wiki.rubyonrails.org/rails/pages/HowtoPagination
This topic is locked and can not be replied to.