Efficient Rails group count if you need the summed up count instead of the hash. Can be used with Kaminari to speed up total_pages and total_count.
Jan Berdajs
无