Message from discussion
Calling Pagination Users
Received: by 10.36.127.14 with SMTP id z14mr3043043nzc.1178521696137;
Mon, 07 May 2007 00:08:16 -0700 (PDT)
Return-Path: <istvan.h...@gmail.com>
Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181])
by mx.google.com with ESMTP id h71si1753453nzf.2007.05.07.00.08.15;
Mon, 07 May 2007 00:08:16 -0700 (PDT)
Received-SPF: pass (google.com: domain of istvan.h...@gmail.com designates 64.233.166.181 as permitted sender)
DomainKey-Status: good (test mode)
Received: by py-out-1112.google.com with SMTP id z74so1097420pyg
for <rubyonrails-core@googlegroups.com>; Mon, 07 May 2007 00:08:15 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
d=gmail.com; s=beta;
h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
b=eiO9XREKIWrH/zGZz/2xlPS51hj7IY54j2Oytb8lX9t7YHWNMo0njX3gicXutMJnDV7UZLmgEZNqmJamsGprF08EzDvVLxrxRGQzdBHX2V1b6lqBhqtLBgJh9g4x34rKuLzqLIVwfeC9DCnK5GhmaXESvRD6hSahMn1Jm75qhsE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=beta;
h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
b=VYNPS0g+HZ/IQBOhihrcMS8R7J3LhPMpUr4ZoUJJ+wU1CNyitXW+wjmEq5/DMTNstKGD7TxweIxGYGePk78diEtCtVvgNJ+oiE+Azot79RjzLlwDyoeR1sOv7oZCwMtgkuR/0wVHKb59SBD0+G6Zpy0bEjs9JNs7WiDbbF/2b58=
Received: by 10.65.236.14 with SMTP id n14mr2193675qbr.1178521695452;
Mon, 07 May 2007 00:08:15 -0700 (PDT)
Return-Path: <istvan.h...@gmail.com>
Received: from ?192.168.1.4? ( [89.137.38.105])
by mx.google.com with ESMTP id f17sm5075137qba.2007.05.07.00.08.14;
Mon, 07 May 2007 00:08:14 -0700 (PDT)
Message-ID: <463ED068.3040300@gmail.com>
Date: Mon, 07 May 2007 10:08:24 +0300
From: Istvan Hoka <istvan.h...@gmail.com>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
To: rubyonrails-core@googlegroups.com
Subject: Re: [Rails-core] Re: Calling Pagination Users
References: <ef46c93e0705061452r7e11b195jc83eae503d76f...@mail.gmail.com> <463EC9C1.7000...@gmail.com> <582A3551-4E37-4FC3-8678-38D3FA539...@lastonepicked.com>
In-Reply-To: <582A3551-4E37-4FC3-8678-38D3FA539...@lastonepicked.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hunter Hillegas wrote:
> Is this a drop in replacement for Rails' pagination?
>
> Recommended replacement?
No, this is not a drop in. For one, there are no view helpers, just the
pagination logic.
The main advantage of Paginator is that it is model agnostic: you can
paginate anything you want with it. All you need to know is the total
number of records.
It is the best one I have found, but there may be better alternatives
out there. I am also waiting to see what this thread turns out.
--
Istvan Hoka