Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (49m)  pkgsrc-2024Q1 (6d)  pkgsrc-2023Q4 (53d)  pkgsrc-2023Q2 (85d)  pkgsrc-2023Q3 (165d) 

2024-05-23 22:58:34 UTC Now

2008-04-29 18:02:05 UTC MAIN commitmail json YAML

Initial import of ruby18-will-paginate-2.2.2 as
textproc/ruby-will-paginate.

Pagination 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 %>

Status:

Vendor Tag: TNF
Release Tags: pkgsrc-base

(jlam)