class ActiveRecord::Reflection::AggregateReflection

:nodoc:
Active Record class.
Holds all the metadata about an aggregation as it was specified in the

def mapping

:nodoc:
Active Record class.
Holds all the metadata about an aggregation as it was specified in the
def mapping
  mapping = options[:mapping] || [name, name]
  mapping.first.is_a?(Array) ? mapping : [mapping]
end