>From the documentation, it looks like this should work:

        page_books = Book.paginate(1, 2)

where Book is a model and I'm trying to start on page 1 with 2 rows per
page. What I get though is:

undefined method `paginate' for #<Sequel::SQLite::Dataset: "SELECT * FROM
`books`">

Am I using it wrong? Is there something additional to require besides
sequel?

Thanks again,

-- 
Scott
http://steamcode.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to