mongodb/mongo-ruby-driver — pull request #81 by ankane (2012-01-06 08:47:33+00:00)
Title: Fixed issue w/ :connect_timeout option

A scoping issue causes a `SystemStackError: stack level too deep` exception when the `:connect_timeout` option is given, as reported here:

https://groups.google.com/forum/#!topic/mongodb-user/tsLjZjufXEE

To replicate:

```ruby
Mongo::Connection.new(nil, nil, :connect_timeout => 5)
```

This tiny commit fixes the issue.