Ruby on Rails Upgrade Made Simple
A Beginner’s Step-by-Step Guide to Updating Your Application
For a long time, updating applications to newer versions of Ruby on Rails appeared to be a process for experienced engineers alone.
Last July, I moved an app from Rails 5.2 to Rails 6.0. So, a significant update.
While upgrading the program, I made notes about the procedure, the difficult bits, and so on. This is what I want to offer you today: a simple guide to updating Ruby on Rails for those of you who have never done so (yet!).
I was fortunate to be guided through the entire process by one of my senior colleagues. So, if you have to do it alone, I hope this guide serves as a type of companion for you.
You’ll see, it’ll be fun!
Read the official guide first
Rails provides an official guide for updating Ruby on Rails.
The first chapter, General Advice, is filled with gold. If you’re like me and prefer to skim through documentation, stop! Read the chapter carefully and take notes on the most significant points. You’ll learn about the suggested approach, the several commands Rails provides, and so on.
I particularly enjoyed the first two pieces of advice.