codeparty/racer-db-mongo — pull request #2 by kylefinley (2012-05-03 16:17:21+00:00)
Title: The Mongo driver expects the port to be a number. 

The Mongo driver expects the port to be a number.

https://github.com/christkv/node-mongodb-native/blob/master/lib/mongodb/connection/connection_pool.js#L10

The current implementation throws an error.

Also, what do you think about changing the config name from `database` to `db`? That would make it consistent with connect-mongo allowing developers to share config settings between the two:

https://github.com/kcbanner/connect-mongo/blob/master/lib/connect-mongo.js#L38

Thank you,

Kyle