Skip to content

Commit ee4270f

Browse files
authored
DOCSP-46982: update ruby driver links (#130)
* DOCSP-46982: update ruby driver links * fixes
1 parent 64ddba9 commit ee4270f

File tree

9 files changed

+14
-33
lines changed

9 files changed

+14
-33
lines changed

source/configuration/app-config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ objects are run sequentially during socket creation.
319319
TLS context hooks are global and affect all ``Mongo::Client``
320320
instances in an application.
321321

322-
To learn more about TLS context hooks, see :ruby:`Modifying SSLContext
323-
</reference/create-client/#modifying-sslcontext>` in the {+ruby-driver+}
322+
To learn more about TLS context hooks, see :ruby:`Modify the TLS Context
323+
</connect/tls/#modify-the-tls-context>` in the {+ruby-driver+}
324324
documentation.
325325

326326
Network Compression

source/configuration/collection-config.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ your {+ruby-driver+} and {+mdb-server+} versions support.
3737
options. Create your collection by running the collection management Rake task, as
3838
shown in :ref:`mongoid-create-collection-rake` section of this guide.
3939

40-
To learn more about collection options available in the {+ruby-driver+}, see the
41-
:ruby:`Collections </reference/collection-tasks/>` guide in the {+ruby-driver+}
42-
documentation.
40+
To learn more about collection options available in the {+ruby-driver+},
41+
see the :ruby:`Databases and Collections </databases-collection/>` guide
42+
in the {+ruby-driver+} documentation.
4343

4444
The following sections show examples of how to configure collection options when
4545
using {+odm+}.
@@ -104,7 +104,7 @@ must explicitly create the corresponding collection. To do so, use the
104104
your shell:
105105

106106
.. code-block:: bash
107-
107+
108108
rake db:mongoid:create_collections
109109

110110
You can also run the ``create_collection`` command on a single model in the

source/configuration/forking-server-config.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ When using {+odm+} with a forking web server, adhere to the following
2727
guidelines:
2828

2929
- If possible, do not perform any MongoDB operations in the parent
30-
process before forking. To learn more about how the {+ruby-driver+}
31-
handles forking, see :ruby:`Usage with Forking Servers
32-
</reference/create-client/#usage-with-forking-servers>` in the driver
33-
documentation.
30+
process before forking.
3431

3532
- You can avoid connection errors such as ``Mongo::Error::SocketError``
3633
and ``Mongo::Error::NoServerAvailable`` by performing the following actions:

source/includes/configuration/sample-config-options.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ development:
1616
options:
1717
# All options in this section are Ruby driver client options.
1818
# To learn more, visit
19-
# https://www.mongodb.com/docs/ruby-driver/current/reference/create-client/
19+
# https://www.mongodb.com/docs/ruby-driver/current/connect/connection-options/
2020

2121
# Sets the write concern. (default = { w: 1 })
2222
write:

source/interact-data/query-cache.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ and reuses them in the future. This prevents {+odm+} from performing
2626
the queries again, increasing application performance and reducing
2727
the database load.
2828

29-
To learn more about this feature, see :ruby:`Query Cache
30-
</reference/query-cache/>` in the {+ruby-driver+} documentation.
31-
3229
Enable Query Caching
3330
--------------------
3431

source/quick-start-rails.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ To learn how to integrate {+odm+} into an existing application, see the
3131
.. tip::
3232

3333
If you prefer to connect to MongoDB by using the {+ruby-driver+} without
34-
{+odm+}, see the {+ruby-driver+} :ruby:`Quick Start guide
35-
</tutorials/quick-start/>`.
34+
{+odm+}, follow the :ruby:`Get Started with the Ruby Driver
35+
</get-started/>` tutorial.
3636

3737
{+odm+} is an Object-Document Mapper (ODM) framework for MongoDB in
3838
{+language+}. By using {+odm+}, you can easily interact with your data and

source/quick-start-sinatra.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ To learn how to integrate {+odm+} into an existing application, see the
3030
.. tip::
3131

3232
If you prefer to connect to MongoDB by using the {+ruby-driver+} without
33-
{+odm+}, see the {+ruby-driver+} :ruby:`Quick Start guide
34-
</tutorials/quick-start/>`.
33+
{+odm+}, follow the :ruby:`Get Started with the Ruby Driver
34+
</get-started/>` tutorial.
3535

3636
{+odm+} is an Object-Document Mapper (ODM) framework for MongoDB in
3737
{+language+}. By using {+odm+}, you can easily interact with your data and

source/reference/compatibility.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ of {+odm+} that you can use with a specific version of MongoDB. To use
4141
features of a particular {+mdb-server+} version, both the
4242
{+ruby-driver+} and {+odm+} must be compatible with that MongoDB
4343
version. To learn about the driver's MongoDB compatibility details,
44-
see :ruby:`Compatibility </reference/driver-compatibility/>`
44+
see :ruby:`Compatibility </reference/compatibility/>`
4545
in the {+ruby-driver+} documentation.
4646

4747
The first column lists the version of {+odm+}.

source/security/encryption.txt

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ You can set up CSFLE by using one of the following mechanisms:
3333
- Explicit encryption: Allows you to perform encrypted read and write operations
3434
with specified encryption logic throughout your application.
3535

36-
This guide describes how to set up CSFLE with automatic encryption. To learn more
37-
about using explicit encryption, see the :ruby:`Explicit Encryption
38-
</reference/in-use-encryption/client-side-encryption/#explicit-encryption>` guide
39-
in the {+ruby-driver+} documentation.
36+
This guide describes how to set up CSFLE with automatic encryption.
4037

4138
Install Dependencies
4239
--------------------
@@ -71,11 +68,6 @@ which your application is located and run the following command in your shell:
7168
which indicates a pre-release version in {+language+}, the ``--pre`` flag is
7269
required.
7370

74-
To learn how to download and install the library manually, see the
75-
:ruby:`libmongocrypt installation guide
76-
</reference/in-use-encryption/client-side-encryption/#libmongocrypt>`
77-
in the {+ruby-driver+} documentation.
78-
7971
Shared Library (Driver v2.19 or later)
8072
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8173

@@ -325,10 +317,5 @@ Additional Information
325317
To learn more about CSFLE, see the :manual:`Client-Side Field Level Encryption
326318
</core/csfle>` guide in the MongoDB {+server-manual+}.
327319

328-
To learn more about using CSFLE with the {+ruby-driver+}, see the
329-
:ruby:`Client-Side Encryption
330-
</reference/in-use-encryption/client-side-encryption/>` guide in the
331-
{+ruby-driver+} documentation.
332-
333320
To learn more about configuring {+odm+} in your application, see the
334321
:ref:`mongoid-app-config` guide.

0 commit comments

Comments
 (0)