# File lib/dm-core/associations/many_to_many.rb, line 82 def delete(resource) through = near_association.get(*(@parent.key + resource.key)) near_association.delete(through) orphan_resource(super) end