method
destroyed_by_association
rails 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.