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
A few months back I took over the guard-reek project and just recently added a new option the allows you to set the CLI options reek runs with. If you are not using reek at all, I encourage you to check it out. It is a Code smell detector for Ruby. Also, check out my… Continue reading Added a CLI option to guard-reek
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