Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 6198663B293 for ; Tue, 29 Apr 2008 18:02:07 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 1216D63B2A7; Tue, 29 Apr 2008 18:02:07 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id B399763B1A4 for ; Tue, 29 Apr 2008 18:02:05 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 70AB2175D0; Tue, 29 Apr 2008 18:02:05 +0000 (UTC) From: "Johnny C. Lam" Subject: CVS commit: pkgsrc/textproc/ruby-will-paginate To: pkgsrc-changes@NetBSD.org Reply-To: jlam@netbsd.org Message-Id: <20080429180205.70AB2175D0@cvs.netbsd.org> Date: Tue, 29 Apr 2008 18:02:05 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: jlam Date: Tue Apr 29 18:02:05 UTC 2008 Update of /cvsroot/pkgsrc/textproc/ruby-will-paginate In directory ivanova.netbsd.org:/tmp/cvs-serv2168 Log Message: 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 N pkgsrc/textproc/ruby-will-paginate/Makefile N pkgsrc/textproc/ruby-will-paginate/DESCR N pkgsrc/textproc/ruby-will-paginate/PLIST N pkgsrc/textproc/ruby-will-paginate/distinfo No conflicts created by this import