开发者

Limit number of rows show per page in view

Where can I go to find a tutor开发者_JAVA技巧ial on how to limit the number of rows that rails shows in the view?

A pagify option would also be cool... thanks.


you should visit this site https://github.com/mislav/will_paginate


https://github.com/amatsuda/kaminari Kaminari A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Rails 3


Try will_paginate gem .

https://github.com/mislav/will_paginate


The Ruby Toolbox is often nice to have an overview of the gems for a particular feature.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜