From here: https://github.com/mislav/will_paginate
- Fix for queries with GROUP BY clause breaking the record count and hence the paging controls
Pagination library for Rails 3, Sinatra, Merb, DataMapper, and more
RubyMIT
From here: https://github.com/mislav/will_paginate