# File lib/dm-core/resource.rb, line 622 def collection return @_collection if @_collection || new? || readonly? collection_for_self end