I realise pagination is not that easy. > > I'm using Sinatra and Sequel and would like to find some sample code. > I tried will_paginate, but it seems to load the full set, which means 8 > secs instead of 0.1 sec in my case. > > Is Sequel::Dataset::Pagination involved in will_paginate or an alternative > method? > > As I understand is the state transferred completely in the pagination > links, for both page viewing and column sorting. > > Is will_paginate only compatible with ActiveRecords ? > > /Christer > > I found a solution to my problem:
http://www.pathf.com/blogs/2008/06/how-to-use-will_paginate-with-non-activerecord-collectionarray/ Christer -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
