Tutorials

Experiment: Fully adding Sorbet and RBS to a small project
To get a better understanding of the value of gradual typing in Ruby projects I picked a small completely finished side project and did 3 experiments:Adding Sorbet at strict level to all files without metaprogramming.Adding RBS annotations to all ...



Skiff: Deploy your static sites with Kamal - YouTube
Skiff is a new, small tool for deploying static marketing sites using Kamal. Built on #NoBuild ideas, stone-age tools like Server Side Includes, and running with nginx. We use it to run http://once.com and http://37signals.com already. Enjoy! http...

Modularizing Rails Monoliths One Bite at a Time by Marc Reynolds - YouTube
Rocky Mountain Ruby 2023 - Modularizing Rails Monoliths One Bite at a Time by Marc ReynoldsAs Rails monoliths grow, coupling becomes increasingly difficult to manage. Many have reached for hope in microservices but instead found higher complexity....

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...