Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: pkgsrc-2015Q1,
Version: 3.0.7,
Package name: ruby200-will-paginate-3.0.7,
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/ruby200-base]
Master sites:
SHA1: 48adba17eb9cc4e9bc7fd11abe20eeb0d6626396
RMD160: af99bf0818a31922e05b23e6f5ecc9626dd7d7bd
Filesize: 35 KB
Version history: (Expand)
- (2015-04-03) Package added to pkgsrc.se, version ruby200-will-paginate-3.0.7 (created)