amatsuda/kaminari — pull request #237 by joeytheman (2012-05-22 00:26:51+00:00)
Title: Add previous and next page number scopes

These scopes are useful when setting pagination headers in a method similar to what is seen here http://metabates.com/2012/02/22/adding-pagination-to-an-api/ .