method

aggregate_mapping

aggregate_mapping(reflection)
protected

No documentation available.

# File activerecord/lib/active_record/base.rb, line 1378
        def aggregate_mapping(reflection)
          mapping = reflection.options[:mapping] || [reflection.name, reflection.name]
          mapping.first.is_a?(Array) ? mapping : [mapping]
        end