Skip to content

Commit 589ec6c

Browse files
committed
errors
1 parent d674b6a commit 589ec6c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

source/databases-collection.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ to print the results:
110110
To query for only the names of the collections in the database, call the
111111
``collection_names`` method as follows:
112112

113-
.. literalinclude:: ncludes/usage-examples/databases-collection.rb
113+
.. literalinclude:: /includes/usage-examples/databases-collection.rb
114114
:language: ruby
115115
:dedent:
116116
:start-after: start-get-list-names
@@ -158,10 +158,10 @@ By default, databases inherit these settings from the ``Mongo::Client`` instance
158158
and collections inherit them from the database. However, you can change these
159159
settings on your database or collection by using one of the following methods:
160160

161-
- ``database.with``: Gets the database and applies the new read preference, read
162-
concern, and write concern.
163-
- ``collection.with``: Gets the collection and applies the new read preference,
164-
read concern, and write concern.
161+
- ``database.with``: Gets the database and applies the new read preference, read
162+
concern, and write concern.
163+
- ``collection.with``: Gets the collection and applies the new read preference,
164+
read concern, and write concern.
165165

166166
To change read or write settings with the preceding methods, call the method and
167167
pass in the new read preference, read concern, or write concern.
@@ -179,7 +179,7 @@ method:
179179
The following example shows how to change the read preference, read concern, and
180180
write concern of a collection:
181181

182-
.. literalinclude:: ncludes/usage-examples/databases-collection.rb
182+
.. literalinclude:: /includes/usage-examples/databases-collection.rb
183183
:language: ruby
184184
:dedent:
185185
:start-after: start-with-collection
@@ -207,7 +207,7 @@ In the following code example, the tag set passed to the ``:read`` parameter
207207
instructs the {+driver-short+} to prefer reads from the New York data center
208208
(``'dc':'ny'``) and to fall back to the San Francisco data center (``'dc':'sf'``):
209209

210-
.. literalinclude:: includes/usage-examples/databases-collection.rb
210+
.. literalinclude:: /includes/usage-examples/databases-collection.rb
211211
:language: ruby
212212
:dedent:
213213
:start-after: start-tag-sets

source/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
API Documentation <{+api-root+}>
2222
What's New </whats-new>
2323
Compatibility </compatibility>
24-
Databases & Collections </databases-collections>
24+
Databases & Collections </databases-collection>
2525

2626
.. TODO:
2727
Write Data </write>

0 commit comments

Comments
 (0)