Home

Pagination is just limiting the number of records displayed. Why should you let it get in your way while developing, then? This library makes magic happen. Did you ever want to be able to do just this on a model:

@posts = Post.paginate :page => params[:page], :order => 'created_at DESC'

… and then render the page links with a single view helper? Well, now you can.

<%= will_paginate @posts %>

The plugin officially supports Rails versions 1.2.6 and 2.0.2. Databases supported should be all which have ActiveRecord adapers; the test suite covers MySQL, PostgreSQL and SQLite3.

Resources

Last edited by mislav, 2 months ago
Versions: