method
concat
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Associations::HasManyThroughAssociation
concat(*records)public
No documentation available.
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 31
def concat(*records)
unless owner.new_record?
records.flatten.each do |record|
raise_on_type_mismatch!(record)
end
end
super
end