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
May 30, 2013 5:50pm
無