Tutorials

How to skip all callbacks for all models in Rails
Use ActiveRecord::Suppressor, conditional callbacks, or patch ApplicationRecord to skip Rails callbacksTwo things:Skip callbacks if this is a debugging sessionDon't try to skip all callbacks in your business logic or production code. This is a str...

How We Upgraded to Ruby on Rails 7.1: A Smooth Transition | HackerNoon
Learn how to effortlessly upgrade your Rails project to version 7.1 with insights and tips. On October 5th, Rails 7.1 has been released. In this article, I will show you how I upgraded one of our projects, OneTribe (https://onetribe.team/), to the...


"Useless syntax sugar": Numbered block parameters
This is a part of a blog post series about “useless” (or: controversial) syntax elements that emerged in recent Ruby version. The goal of the series is not to defend (or criticize) the features, but to share a “thought framework” for analysis of t...


Distributing Docker Images for Rails Apps With GitHub Actions
As someone who’s been working with Ruby on Rails applications for 15 years and counting, it’s been amazing to see how it remains relevant in web development today. It’s always exciting to see a new major version come around the horizon and see wha...

Easy introduction to Connection Pool in ruby by Michał Łęcicki - Visuality
As Rails developers, we often encounter performance issues in different parts of our applications. But establishing connections to external services is usually the place we overlook. Let me introduce the concept of connection pooling and show you ...


Implementing Object Shapes in CRuby by Jemma Issroff - YouTube
Object Shapes are a technique for representing objects' properties that can increase cache hits in instance variable lookups, decrease runtime checks, and improve JIT performance. In this talk, we'll learn how they work, why implement them, and in...