Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
*Location*: https://docs.mongodb.org/ecosystem/tutorial/ruby-mongoid-tutorial/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1680 x 1050
*repo*: docs-ecosystem
*source*: tutorial/ruby-mongoid-tutorial
*Location*: https://docs.mongodb.org/ecosystem/tutorial/ruby-mongoid-tutorial/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1680 x 1050 *repo*: docs-ecosystem *source*: tutorial/ruby-mongoid-tutorial
Description
Documentation should include an example configuration for creating a replica set connection using the MongoDB URI.
Example would be something like the following:
```
production:
clients:
default:
uri: mongodb://user:password@host1:port1,host2:port2/database
```