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 <[email protected]>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
[email protected]

Reply via email to