Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: pkgsrc-2011Q4,
Version: 3.0.2,
Package name: ruby19-will-paginate-3.0.2,
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/ruby19-base]
Master sites:
SHA1: e3cc719f173e0cc683805d85f2fe1aa85ba78a35
RMD160: 10613ad108f4592b7b9083d8a770d8f2b2c7a71f
Filesize: 33 KB
Version history: (Expand)
- (2012-01-08) Package added to pkgsrc.se, version ruby19-will-paginate-3.0.2 (created)