method

before_save_collection_association

rails latest stable - Class: ActiveRecord::AutosaveAssociation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

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.