# File lib/dm-core/collection.rb, line 704 def replace(other) other = resources_added(other) resources_removed(entries - other) super(other) end