method
concat
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
concat(*records)public
Add records to this association. Since +<<+ flattens its argument list and inserts each record, push and concat behave identically.