How to make << 123.. >> functionality ? %)


#1

Hello.

I have read all great documentation which recomended me at this forum,
thanks, it is really very good start for my.

Now I try to create blog. I have one problem, pages looks very bad if
many than 40 items on one page displayed =) , I think need create
something similar to “next|prev page” buttons. But I don’t know how, how
create it with rails ?
For example you can see this functinal at this forum if you do not
understand what I talking about. looks like
http://www.ruby-forum.com/forum/3?page=2
page 2 of forum 3. etc, at bottom right Page 2 >>

Thanks.


#2

On May 1, 1:20 pm, Sergio F. removed_email_address@domain.invalid
wrote:

Hello.

I have read all great documentation which recomended me at this forum,
thanks, it is really very good start for my.

Now I try to create blog. I have one problem, pages looks very bad if
many than 40 items on one page displayed =) , I think need create
something similar to “next|prev page” buttons. But I don’t know how, how
create it with rails ?

Have a look at the will_paginate plugin/gem (http://github.com/mislav/
will_paginate/tree/master)

Fred


#3

omg, it works ! Thank you very much !