Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: pkgsrc-2014Q2,
Version: 3.0.5,
Package name: ruby200-will-paginate-3.0.5,
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: (Expand)
SHA1: cab8bded4a9b20c121af986f8bd975ca64860914
RMD160: 89c6a7d922c80bc5b8651845c8b46871d775004c
Filesize: 34 KB
Version history: (Expand)
- (2014-07-02) Package added to pkgsrc.se, version ruby200-will-paginate-3.0.5 (created)