Skip to content

Instantly share code, notes, and snippets.

@RyanScottLewis
Created November 18, 2011 21:24
Show Gist options
  • Save RyanScottLewis/1377795 to your computer and use it in GitHub Desktop.
Save RyanScottLewis/1377795 to your computer and use it in GitHub Desktop.
Thanks for the pull request! Before I can pull it though, two things need changed:
Tests! A lot of people are using MongoMapper, so we want to make sure we don't break this in the future.
I don't like manually deleting the options for the connection string. What do you think about having driving options nested with the other connection settings? Something like:
MongoMapper.config = {'development' => {:port => 12345, :options => {:pool_size => 5}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment