Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: pkgsrc-2012Q2,
Version: 3.0.3,
Package name: ruby193-will-paginate-3.0.3,
Maintainer: pkgsrc-usersPagination 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 %>
Required to run:[
lang/ruby193-base]
Master sites:
SHA1: 2a199da71b8b4eadd0c2fce8b6a28c2e55277402
RMD160: 404bb271516e0f7e84d8758864ca3883c8baa873
Filesize: 33.5 KB
Version history: (Expand)
- (2012-07-05) Package added to pkgsrc.se, version ruby193-will-paginate-3.0.3 (created)