# File lib/dm-core/collection.rb, line 820 def destroy if destroyed = all? { |resource| resource.destroy } clear end destroyed end