method
destroyed_by_association
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::AutosaveAssociation
destroyed_by_association()public
Returns the association for the parent being destroyed.
Used to avoid updating the counter cache unnecessarily.