File: //usr/local/rvm/gems/ruby-3.0.2/doc/activerecord-6.1.4.1/ri/ActiveRecord/Calculations/sum-i.ri
U:RDoc::AnyMethod[iI"sum:ETI"#ActiveRecord::Calculations#sum;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KCalculates the sum of values on a given column. The value is returned ;TI"Gwith the same data type of the column, +0+ if there's no row. See ;TI"*#calculate for examples with options.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Person.sum(:age) # => 4562;T:@format0:
@fileI"/lib/active_record/relation/calculations.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(column_name = nil);T@TI"Calculations;TcRDoc::NormalModule00