ActiveRecord aggregation cache fields on steroids