jnunemaker/mongomapper — pull request #329 by c00lryguy (2011-10-21 19:53:24+00:00)
Title: Allow configurations from mongo.yml to be passed to Mongo::Connection.new

My mongo.yml has the following lines:

development:
host: 127.0.0.1
database: my_proj_development
pool_size: 10

Now, in `rails s`:

# Before this commit:
MongoMapper.connection.pool_size # => 1

# After this commit:
MongoMapper.connection.pool_size # => 10