From fc603c651e46fc10d3a221e15f1a58d6f64d5fa5 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Tue, 13 Jul 2010 14:42:18 -0400 Subject: [PATCH] RUBY-152 --- lib/mongo/collection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/collection.rb b/lib/mongo/collection.rb index 7cb5d57..d98c145 100644 --- a/lib/mongo/collection.rb +++ b/lib/mongo/collection.rb @@ -480,7 +480,7 @@ module Mongo # # @core mapreduce map_reduce-instance_method def map_reduce(map, reduce, opts={}) - opts.assert_valid_keys(:query, :sort, :limit, :finalize, :keeptemp, :verbose, :raw) + opts.assert_valid_keys(:query, :sort, :limit, :finalize, :out, :keeptemp, :verbose, :raw) map = BSON::Code.new(map) unless map.is_a?(BSON::Code) reduce = BSON::Code.new(reduce) unless reduce.is_a?(BSON::Code) raw = opts.delete(:raw)