Method: Query#total_for
- Defined in:
- app/models/query.rb
#total_for(column) ⇒ Object
Returns the sum of values for the given column
1053 1054 1055 |
# File 'app/models/query.rb', line 1053 def total_for(column) total_with_scope(column, base_scope) end |