Pagination in Rails With the will_paginate Gem
The will_paginate library makes adding pagination functionality to Rails apps (and other Ruby frameworks) effortless. will_paginate is very well designed plugin. Besides ActiveRecord object integration, it can integrate with array and any collection. Read more at RailsCarma Blog
Comments
It’s only from very recently that will_paginate is compatible with Ruby 2.3 and Rails 4. Kaminari is a more up to date alternative, ans possibly more secure.
Also look at the frequency of the last commits:
https://github.com/amatsuda/kaminari/graphs/commit-activity versus https://github.com/mislav/will_paginate/graphs/commit-activity
Post a comment