# File lib/couch_potato/database.rb, line 127 def load!(id) doc = load(id) if id.is_a?(Array) missing_docs = id - doc.map(&:id) end raise(CouchPotato::NotFound, missing_docs.try(:join, ', ')) if doc.nil? || missing_docs.try(:any?) doc end