couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fidel Viegas <fidel.vie...@gmail.com>
Subject Re: CouchRest and Pagination
Date Mon, 19 Jul 2010 14:53:31 GMT
Hi guys,

Thanks a lot for the tips. I will give it a try.

Regards,

Fidel.


On 7/19/10, John Wood <john@interactivemediums.com> wrote:
> Hi,
>
> CouchRest has built-in support for pagination.  See
> http://wiki.github.com/couchrest/couchrest/couchrestextendeddocument (bottom
> of the page) for details.  There is also a blog post at
> http://www.opensourcery.co.za/2010/02/08/paginating-documents-with-couchrest-and-will_paginate/that
> describes how to team up the pagination support in CouchRest with the
> will_paginate gem.
>
> Hope this helps.
>
> John
>
> On Mon, Jul 19, 2010 at 2:29 AM, Fidel Viegas <fidel.viegas@gmail.com>wrote:
>
>> Hi all,
>>
>> I don't know if I should post this message here or in a Ruby on Rails
>> discussion group, but I guess since this is related to CouchDB it
>> might be appropriate.
>>
>> I am trying to implement pagination using CouchRest and I want to add
>> the links for previous, next and all links in the middle. Has anyone
>> done this with CouchRest? How did you go about it?
>>
>> Best Regards,
>>
>> Fidel.
>>
>
>
>
> --
> John Wood
> Interactive Mediums
> john@interactivemediums.com
>

Mime
View raw message