Skip to content

Commit a0d7010

Browse files
committed
Update "Smooth Ruby and Rails upgrades"
1 parent 8eab02e commit a0d7010

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

posts/2024-07-01-smooth-ruby-and-rails-upgrades.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ For this example, there would be 4 steps to take:
7979

8080
After taking each step, monitor the application for new issues, collect deprecation warnings, and fix them before moving to the next step.
8181

82+
#### Rails and Ruby upgrade sequencing
83+
84+
Rails and Ruby upgrades are planned together, but executed separately.
85+
86+
I treat Ruby and Rails as **two separate upgrade axes** and **never combine them in a single release**. Each upgrade is performed independently to keep the scope small and make failures easy to attribute.
87+
88+
My default approach is to upgrade to a given minor Rails version **already running the Ruby minor version that was current when that Rails version was released**.
89+
8290
### Low-level plan
8391
In practice, the upgrade process is more complex than simply transitioning from one version to another. The necessary steps are often unclear until you begin.
8492

@@ -110,6 +118,3 @@ If you're struggling with upgrading your Ruby or Rails application, don't hesita
110118

111119
We have experience in upgrading applications of various sizes and complexity levels. We can help you make the process smooth and painless.
112120

113-
## Prefer video?
114-
115-
<iframe style="width:100%; height: 400px;" src="https://www.youtube.com/embed/di4Z2cc12ak?si=v4kEGN_nvpzJ8Wlj" frameborder="0" allowfullscreen></iframe>

0 commit comments

Comments
 (0)