Tutorials


Ruby on Rails Flash Messages With Hotwire - YouTube
In this video, we're going to take a look at Rails' flash messages, how they work, and what changed since Hotwire became available.🎥 Get on the waiting list for my new Ruby on Rails Course here: https://mixandgo.com/rails-course👉 Buy my Bulletpr...

Releasing a Redesign using Feature Flags and Rails Variants
Redesigning an existing application can be a time consuming process, especially for a relatively large application. Performing a redesign behind a feature flag has a lot of benefits. It allows you to make incremental progress on the new design, de...



Round Two: An Updated Universal Deserialisation Gadget for Ruby 2.x-3.x
A few months ago I noticed the gadget in my previous article had been patched and no longer worked in Ruby 3.0.3, so I spent a bit of time dusting off the old tools to see if I could find another one.One of the helper scripts I used is based on th...


Different Ways to Set Attributes in ActiveRecord (Rails 7)
Rails 7 has a rich API that allows you to update your ActiveRecord objects in several ways. Some methods have slightly different behavior which can sometimes result in unexpected consequences, so it’s important to understand their differences.
