lib/collector/repository.rb in collector-0.0.11 vs lib/collector/repository.rb in collector-0.0.12

- old
+ new

@@ -52,10 +52,10 @@ def deserialize(attributes) model.new(attributes) end def all - collection.find_all.map do |document| + collection.find.map do |document| deserialize!(document) end end def find_by_id(id)