the old code here implies that @db is a DB instance, but this line
https://github.com/mongodb/mongo-ruby-driver/pull/300/files#diff-cef12fd3a120ca554260de989ace379aL301

implies that it's a name.  Useful info for my previous comments about default_db.