method
before_save_collection_association
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::AutosaveAssociation
before_save_collection_association()private
Is used as a before_save callback to check while saving a collection association whether or not the parent was a new record before saving.