So we are continuing on the journey of upgrading your Rails application in smallish steps. In this phase, we want to get all the tests we skip or marked as pending in Phase 3 passing now. Any big refactorings that are required are suggested to be done as separate tickets/stories. Goal: Have all the tests… Continue reading Upgrading Ruby on Rails Phase 4: Passing Test Suite
Now that the app is able to boot in both versions we can look at Phase 3 of the upgrade process. This phase can be a bit confusing in its details, the key is to remember that the goal is a running test suite and not a full passing test suite. A fully passing test… Continue reading Ruby on Rails Upgrade Phase 3: Running test suite
This blog post is taking a deeper look at phase 2 of upgrading a large Ruby on Rails up in smallish steps. The next phase is basically updating the config and booting the application in both versions. This is hopefully a small enough piece that can be merged into the main branch relatively quickly or at… Continue reading Upgrading Ruby on Rails, Phase 2: Booting the App
This blog post is taking a deeper look at phase 1 of upgrading a large Ruby on Rails up in smallish steps. The focus with these phases is to be able to do a small enough piece and get it merged into the main branch as quickly as possible in order to prevent regression due… Continue reading Upgrading Ruby on Rails, Phase 1: The Second Gemfile
Thought I would share the general procedure I have come up with that I have learnt with upgrading Monolithic Ruby on Rails apps. The focus allows the code to still accept changes/features while the upgrade is happening which could take a few months to complete. These phased steps can be used to upgrade large rails… Continue reading Upgrading Ruby on Rails in smallish steps
I did a talk at RubyFuza this year and you can find the video on youtube. The talk centers around various tools like rubocop, reek, bundler-audit, etc that you can use to help you write better code. The slides are available here.
As a fun exercise, I would try and get some of my older abandoned Ruby on Rails projects up and running inside a docker container. The first project I tackled was called “Lotto in my Pocket”. It’s a Rails 3.0 project which I had last touched 6 years ago. My goal was to get everything setup… Continue reading Getting Rails 3.0 up and running on docker and dokku