Skip to content

Commit 5051e87

Browse files
authored
Merge pull request #933 from p-mongo/docs-grammar
Minor grammar fixes in documentation
2 parents ec5005c + 0b70f6c commit 5051e87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/tutorials/ruby-driver-change-streams.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ As of version 3.6 of the MongoDB server, a new ``$changeStream`` pipeline stage
1414
framework. The Ruby driver provides an API for receiving notifications for changes to a particular collection using this
1515
new pipeline stage. Although you can create a change stream using the pipeline operator and aggregation framework
1616
directly, it is recommended to use the driver API described below as the driver resumes the change stream if there is
17-
timeout or network error.
17+
a timeout or a network error.
1818

1919
Change streams on the server requires a ``"majority"`` read concern or no read concern.
2020

@@ -38,7 +38,7 @@ A change stream is created by calling the ``#watch`` method on a collection:
3838
process(doc)
3939

4040

41-
You can also receive the notifications as they are available:
41+
You can also receive the notifications as they become available:
4242

4343
.. code-block:: ruby
4444

@@ -64,7 +64,7 @@ The change stream can take filters in the aggregation framework pipeline operato
6464
Close a Change Stream
6565
---------------------
6666

67-
You can close a Change Stream by calling the ``#close`` method:
67+
You can close a change stream by calling the ``#close`` method:
6868

6969
.. code-block:: ruby
7070

0 commit comments

Comments
 (0)