active_record_calculator does groupable aggregate functions in one sql call for better performance
Grady Griffin
无