Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: pkgsrc-2010Q1,
Version: 2.2.2,
Package name: ruby18-will-paginate-2.2.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/ruby18-base] [
misc/rubygems]
Required to build:[
misc/rubygems]
Master sites:
SHA1: f35bd939f69a09594f780bad3650dbbdc22ed046
RMD160: c9c32c8283744d27626d942a26dcaadf471662b3
Filesize: 34 KB
Version history: (Expand)
- (2010-04-09) Package added to pkgsrc.se, version ruby18-will-paginate-2.2.2 (created)