--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Calculates the sum of values on a given column. The value is returned with the same data type of the column, 0 if there's no row. See <tt>calculate</tt> for examples with options.
- !ruby/struct:SM::Flow::VERB 
  body: "  Person.sum('age') # =&gt; 4562\n"
full_name: ActiveRecord::Calculations::ClassMethods#sum
is_singleton: false
name: sum
params: (column_name, options = {})
visibility: public
