Aron posted this 5 days ago | 1 comment
Sure, will_paginate can be modified and customized pretty much any way you want, and we've done so many, many times. But for me, it always felt a bit too abstracted, a bit too opaque.
Enter Paged Scopes, a clever little gem that makes pagination a whole lot cleaner and clearer in my opinion.
What the gem does is very simple: It extends ActiveRecord's already incredibly powerful named scopes by adding pagination- ...


