mislav/will_paginate — pull request #404 by Zeeshan-Siddhu (2014-07-21 09:04:14+00:00)
Title: Count fix

Whenever we do total_entries on a collection of active record objects on a query that contains GROUP BY, it converts collection into hash and return its count whereas it should return count of the active relation and not the hash.