method
concat
v3.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionAssociation
concat(*records)public
Add records to this association. Returns self so method calls may be chained. Since << flattens its argument list and inserts each record, push and concat behave identically.