mongodb/mongo-ruby-driver — pull request #79 by johnewart (2011-12-29 08:15:25+00:00)
Title: Fix db output option when using map reduce

Checks if the result of a map reduce operation is a hash and points to the output db / collection. Returns the collection from the new db correctly when the :db option is passed. Refers to RUBY-389