Method: ActiveRecord::Reflection::AggregateReflection#mapping
- Defined in:
- lib/active_record/reflection.rb
#mapping ⇒ Object
:nodoc:
199 200 201 202 |
# File 'lib/active_record/reflection.rb', line 199 def mapping mapping = [:mapping] || [name, name] mapping.first.is_a?(Array) ? mapping : [mapping] end |