method

concat_records

concat_records(records)
private

No documentation available.

# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 37
        def concat_records(records)
          ensure_not_nested

          records = super(records, true)

          if owner.new_record? && records
            records.flatten.each do |record|
              build_through_record(record)
            end
          end

          records
        end