method

destroyed_by_association

destroyed_by_association()
public

Returns the association for the parent being destroyed.

Used to avoid updating the counter cache unnecessarily.