using WillPaginate with Sinatra
The use of the will_paginate gem with Sinatra is trivial, all you need to do is instruct your ORM about pagination and make the helpers available to the views. In addition to this, you also need to implement the url method for the LinkRenderer class. This snippet assumes the use or ActiveRecord :)
This is what I was thinking... Google it, find it, put it in your code and it should work..
Run this snippet and you will see what we're talking about!
This seems to be working:
published on 2 Jun

