method
destroyed_by_association
v4.1.8 -
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.