shlogg · Early preview
Sinaptia @sinaptia_dev

Upgrading Ruby On Rails Apps: A Step-by-Step Guide

Upgrading Ruby on Rails apps is crucial due to rapid framework releases & EOLs. Assess app's current version, desired version, infrastructure, database, & test coverage before upgrading in baby steps, ensuring compatibility & security.

Every year, we spend some of our time upgrading Ruby on Rails applications. Some of them have been created by us (and thus we know everything about them) and some of them haven’t. In any case, we have the same approach despite their difference (dependencies, versions, etc.).
Why upgrading Ruby on Rails apps?
Rails is a framework that moves quite fast. Following the Semantic Versioning, the Rails core team releases a major version every 3 years on average, a minor version update every year on average, and about a dozen bugfixes versions a year. With every major release of the framework, the old...