module ActiveFedora::AutosaveAssociation

def destroyed_by_association

Used to avoid updating the counter cache unnecessarily.

Returns the association for the parent being destroyed.
def destroyed_by_association
  @destroyed_by_association
end