@@ -68,17 +68,17 @@ is specified, the client will use the ``admin`` database:
6868 :end-before: end-local-connection
6969 :dedent:
7070
71- You can also specify the host, port, and database to connect using the URI
72- syntax :
71+ You can also specify the host, port, and database to connect to using a
72+ connection string :
7373
7474.. literalinclude:: /includes/connect/connection-targets.rb
7575 :language: ruby
7676 :start-after: start-local-connection-uri
7777 :end-before: end-local-connection-uri
7878 :dedent:
7979
80- You can use ``localhost`` to specify your host name, as well . The following
81- code example connects to ``localhost`` on port ``27017``:
80+ You can also specify your host as ``localhost`` . The following code example
81+ connects to ``localhost`` on port ``27017``:
8282
8383.. literalinclude:: /includes/connect/connection-targets.rb
8484 :language: ruby
@@ -105,7 +105,8 @@ The following example shows how to specify three members of the replica set:
105105 :end-before: end-replica-set
106106 :dedent:
107107
108- The following example shows how to connect to the replica set using the URI syntax:
108+ The following example shows how to connect to the replica set using a connection
109+ string:
109110
110111.. literalinclude:: /includes/connect/connection-targets.rb
111112 :language: ruby
@@ -114,7 +115,7 @@ The following example shows how to connect to the replica set using the URI synt
114115 :dedent:
115116
116117The following example shows how to verify the replica set name upon connection
117- by using the ``replica_set`` option or the ``replicaSet`` URI option:
118+ by using the ``replica_set`` option or the ``replicaSet`` connection string option:
118119
119120.. literalinclude:: /includes/connect/connection-targets.rb
120121 :language: ruby
0 commit comments