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

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