A short video demonstrating how you can set up Cypress.io with Ruby on Rails.
The code can be found here: https://github.com/my-grocery-price-book/www/pull/124
A short video demonstrating how you can set up Cypress.io with Ruby on Rails.
The code can be found here: https://github.com/my-grocery-price-book/www/pull/124
I have recently come across cypress which is an improved way of doing end to end testing, which in my opinion provides many things that have been lacking in this area for a while now. If you have not heard of cypress before I suggest you check it at https://www.cypress.io/ before reading further. That said though… Continue reading Cypress on Rails
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 small 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
If you are new to docker I recommend first getting the basics downs with the docker 101 course I have recently started using docker for a new project that I am working on and I want to do all my development inside docker as well as host the application on a docker environment. Doing the hosting… Continue reading Ruby on Rails development with docker-compose, spring and PostgreSQL