without puts

This commit is contained in:
amartynov 2015-09-15 15:47:00 +03:00
parent cc0b5f04db
commit a1495d6e14

View File

@ -44,7 +44,6 @@ module Connectors
val = options.delete("sort")
sort = {created_at: (val == "desc" ? -1 : 1)}
end
puts "Reports: #{options}"
collection.find(options).sort(sort).to_a.map {|bson| model_from_bson(bson)}
end