Hello.
Novice question: How can I use pagination function in partial view? I ve
tried like this: ActionController::Pagination::paginate, but it throws
NoMethodError. Is the way like Model.find or… ?
Thanks a lot!
Hello.
Novice question: How can I use pagination function in partial view? I ve
tried like this: ActionController::Pagination::paginate, but it throws
NoMethodError. Is the way like Model.find or… ?
Thanks a lot!
On 9/5/07, Frantisek P. [email protected] wrote:
Hello.
Novice question: How can I use pagination function in partial view? I ve
tried like this: ActionController::Pagination::paginate, but it throws
NoMethodError. Is the way like Model.find or… ?
use the will_paginate plugin http://errtheblog.com/post/4791
and you should do the paginating in your controller and then pass the
ivar to your partial
Adam
Hi,
There is a will_paginate group:
http://groups.google.com/group/will_paginate
Ask your usage questions there and I will be happy to respond.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs