app/models/digital_asset.rb in daengine-0.3.8.1 vs app/models/digital_asset.rb in daengine-0.3.8.2

- old
+ new

@@ -79,10 +79,10 @@ path_is(path).try(:doc_changed_at) end def content_type_ids ids = [] - documents.try :each do |d| + documents.try(:each) do |d| ids << d.content_type end ids end alias :doctype_ids :content_type_ids