Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: pkgsrc-2016Q4,
Version: 3.1.5,
Package name: ruby22-will-paginate-3.1.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/ruby22-base]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: d8e03a48b1412ba61b3ed7979d263fa3b29528d9
RMD160: c63d7cc7182e5bb77e7602318dc8e287bfeee3e4
Filesize: 36 KB
Version history: (Expand)
- (2017-01-05) Package added to pkgsrc.se, version ruby22-will-paginate-3.1.5 (created)