hart...@gmail.com wrote: > Hi, > > I am fairly new to rails and am trying to figure out the right way to > do pagination with ActiveResource. I am considering just wrapping > will_paginate over everything but I before I do I was hoping to get > some input from some more experienced developers. > > Thanks,George
I think <a href="http://github.com/c42/pox_paginate">PoxPaginate</a> is what you're looking for. It's based on ideas tested in production; basically on the server you do ActiveRecordKlass.paginate, and when you deserialise this on the ActiveResource end, you get a WillPaginateCollection. Cheers, Sidu. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.