Skip to content

Commit 56ec00e

Browse files
authored
DOCSP-46213: bump to rails 8 and remove old tuts (#84)
1 parent 78cb913 commit 56ec00e

File tree

10 files changed

+5
-1285
lines changed

10 files changed

+5
-1285
lines changed

snooty.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ toc_landing_pages = [
1616
]
1717

1818
[constants]
19-
rails-6-version = 6.0
20-
rails-7-version = 7.1
2119
rails-8-version-docs = "v8.0"
2220
odm = "Mongoid"
2321
version = "9.0"
24-
full-version = "{+version+}.2"
22+
full-version = "{+version+}.4"
2523
ruby-driver = "Ruby driver"
2624
language = "Ruby"
2725
quickstart-sinatra-app-name = "my-sinatra-app"

source/quick-start-rails.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Quick Start - Ruby on Rails
2020
Overview
2121
--------
2222

23-
This guide shows you how to use {+odm+} in a new **Ruby on Rails 7 (Rails)**
23+
This guide shows you how to use {+odm+} in a new **Ruby on Rails 8 (Rails)**
2424
web application, connect to a MongoDB cluster hosted on MongoDB
2525
Atlas, and perform read and write operations on the data in your
2626
cluster.

source/quick-start-rails/download-and-install.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Download and Install
1414
Prerequisites
1515
-------------
1616

17-
To create the Quick Start application by using Ruby on Rails 7, you need the
17+
To create the Quick Start application by using Ruby on Rails 8, you need the
1818
following software installed in your development environment:
1919

2020
- `{+language+}. <https://www.ruby-lang.org/en/documentation/installation/>`__
@@ -24,11 +24,6 @@ following software installed in your development environment:
2424
- A terminal app and shell. For MacOS users, use Terminal or a similar app.
2525
For Windows users, use PowerShell.
2626

27-
.. tip:: Rails 6 Tutorial
28-
29-
If you prefer to use Rails 6 to build your application, see the
30-
:ref:`mongoid-getting-started-rails-6` guide.
31-
3227
Download and Install the {+odm+} and Framework Gems
3328
---------------------------------------------------
3429

source/quick-start-rails/view-data.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ View MongoDB Data
6161
:copyable: false
6262

6363
=> Booting Puma
64-
=> Rails 7.2.1 application starting in development
64+
=> Rails 8.0.1 application starting in development
6565
=> Run `bin/rails server --help` for more startup options
6666
Puma starting in single mode...
6767
* Puma version: 6.4.3 (ruby 3.2.5-p208) ("The Eagle of Durango")

source/quick-start-sinatra.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,8 @@ Follow the steps in this guide to create a sample {+odm+} web application
4949
that connects to a MongoDB deployment.
5050

5151
.. tip:: Other Framework Tutorials
52-
53-
If you prefer to use Ruby on Rails 6 to build your application, see the
54-
:ref:`mongoid-getting-started-rails-6` guide.
5552

56-
If you prefer to use Ruby on Rails 7 as your web framework, see the
53+
If you prefer to use Ruby on Rails 8 as your web framework, see the
5754
:ref:`mongoid-quick-start-rails` guide.
5855

5956
.. TODO .. tip::

source/tutorials.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,9 @@
44
Tutorials
55
*********
66

7-
.. default-domain:: mongodb
8-
97
.. toctree::
108
:titlesonly:
119

12-
tutorials/getting-started-sinatra
13-
tutorials/getting-started-rails7
14-
tutorials/getting-started-rails6
15-
tutorials/documents
1610
tutorials/common-errors
1711
tutorials/automatic-encryption
1812

@@ -21,9 +15,5 @@ Overview
2115

2216
See the following sections to learn more about working with Mongoid:
2317

24-
- :ref:`Getting Started (Sinatra) <getting-started-sinatra>`
25-
- :ref:`Getting Started (Rails 7) <getting-started-7>`
26-
- :ref:`Getting Started (Rails 6) <getting-started-6>`
27-
- :ref:`Documents <documents>`
2818
- :ref:`Common Errors <common-errors>`
2919
- :ref:`Automatic Client-Side Field Level Encryption <automatic-encryption>`

source/tutorials/documents.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)