Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: pkgsrc-2016Q2,
Version: 3.1.0,
Package name: ruby22-will-paginate-3.1.0,
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]
Master sites:
SHA1: 7067f6ec6665797e5c5506f26843262b601632ba
RMD160: 0e8f15b12fbd481372aa5d4637c49329446a3d0c
Filesize: 35.5 KB
Version history: (Expand)
- (2016-07-07) Package has been reborn
- (2016-07-06) Package added to pkgsrc.se, version ruby22-will-paginate-3.1.0 (created)