Short Ruby Newsletter - edition 121

The one about where Ufuk Kayserilioglu does a deep dive into how singleton classes work and where Jean Boussier explores what happens when removing GVL

In partnership with

Table of Contents

(ad)

Writer RAG tool: build production-ready RAG apps in minutes

  • Writer RAG Tool: build production-ready RAG apps in minutes with simple API calls.

  • Knowledge Graph integration for intelligent data retrieval and AI-powered interactions.

  • Streamlined full-stack platform eliminates complex setups for scalable, accurate AI workflows.

🚀 Launches and discounts

Source: @hrrsnbbnt

🚀 Carla Urrea Stabile launched two new courses in Spanish on Linkedin Learning:

📅 Events

📅 Ruby Kaigi announced tickets are available for RubyKaigi 2025

Source: @railsconf

📅 African Ruby Community announced the dates for RubyConf Africa (but at this moment the domain seems unregistered or expired):

👉 All about Code and Ruby

👉 Pat Shaughnessy published an article about Updating Ruby Under a Microscope

👉Jean Boussier published a new article about So You Want To Remove The GVL?

👉 Dave Thomas published a new article about Simplify Logic With State Machines

👉 Julik Tarkhanov published a new article about Supercharge SQLite with Ruby Functions

💻 Code Samples

💻 Ufuk Kayserilioglu added some replies regarding how the singleton class works in Ruby:

Source: @ufuk.dev

Source: @ufuk.dev

Source: @ufuk.dev

💻 Svyatoslav Kryukov shared a code sample about Turbo Mount React 

💻 Aaron Patterson shared a code sample about showing an warning when an object in mutated in a thread

💻 Joel Drapper shared a code sample about a Ruby microperformance tip:

💻 Ara Hacopian shared a code sample about using association extensions in Rails:

Source: @hacopian.de

💻 Gregory Brown shared a code sample about inheriting from Module to build macros:

️💻 Victor Cobos shared about speeding up Rails development setup:

Source: @elalemanyo

️💻 Jorge Manrubia shared a code sample using concerns:

Source: @jorgemanru

️💻 Ruby Cademy shared a code sample about using index_with:

Source: @RubyCademy

And here is an example about how to use index_with 

Source: @RubyCademy

️💻 Matt Swanson shared a code sample about transforming HTML to Trix expectations:

Source: @_swanson

️💻 Alessandro Rodi shared a code sample about refactoring RSPec to be more readable:

Source: @coorasse

(ad)

There’s a reason 400,000 professionals read this daily.

Join The AI Report, trusted by 400,000+ professionals at Google, Microsoft, and OpenAI. Get daily insights, tools, and strategies to master practical AI skills that drive results.

📐 Thinking about Code Design

📐Nate Berkopec shared data from enabling YJIT:

📐 Nate Berkopec shared about first scalling bottleneck of Rails applications:

📐 Jared Moody shared a thread about their experience switching from Redis to SolidCache:

📐 Gregory Brown shared a code sample about literate programming of Ruby. You might also want to read this thread he shared about what inspired him to create this small program and maybe discover some other cool stuff in Ruby world:

On the same topic Brad Gessler shared Phlex handler:

📐 Nate Berkopec shared about Postgres and Multixact buffers incidents:

📐 Gavin Morrice shared about their tech stack:

📐 Nick Schwaderer shared about Minitest vs RSPec:

Source: @schwad_rb

📐 Jspooner shared about deploying 26 Rails apps with American Cloud

Source: @jspooner

📐 Jason Swett shared about how they organize their tests:

Source: @JasonSwett

💡Around code (news, findings, books, and more - all about Ruby)

💡 Samuel Williams shared that Rack has passed 1 billion downloads

Source: @ioquatix

💡 Gregory Brown asked us to help with a survey about Software Defects Survey

💡 Xavier Noria shared about programming, testing and documenting:

💡 Ermolaev Andrey created a benchmark comparing multiple programming languages and web severs. Here are some results:

💡 Jesse Van Der Pluijm shared about why to learn minitest:

Source: @jessevdp_

💡 Avinash Joshi shared about removing Redis:

📐 Zil N asked about what is the most frustrating part of working with Rails in 2025:

Source: @zilasino

Here are some answers:

Source: @aroundluiz

Source: @schwabsauce

Source: @coorasse

Source: @iwdt0

Source: @kingdrale

Source: @qrcey

Source: @jakeonrails

From another thread

Source: @Shpigford

❤️ Why Choose Ruby and Rails

❤️ Zeke Gabrielse published a new article about Trailblazing - explaining why they are choosing Rails:

🧰 Gems, Libraries, Tools and Updates

🧰 Updates

🧰 JRuby announced that 9.4.11.0 is Released

🧰 ashmaroli announced a new version of Jekyll 4.4.0 Released

🧰 Nate Berkopec announced a new version of puma - 6.6.0 - Return to Forever

🧰 Thoughtbot announced a new version of Release v6.5.1 · thoughtbot/factory_bot

🤝 Stephen Margheim shared a thread about developers and AI (here are two posts from the thread)

🤝 Kasper Timm Hansen shared about code as encoded communication:

🤝 Jason Swett shared about design:

Source: @JasonSwett

🤝 Joey Wang shared a code sample about insalling deepseek through ollama

Source: @alazycoder2

More content: 📚 🗞 🎧 🎥 ✍🏾

John Hawthorn published their slides about Scaling Ruby @ Github

🗞 Newsletters

🗞 Ruby Central published a new edition about January 2025 Newsletter

🗞 Ruby Weekly published a new article about Getting rid of Ruby's global VM lock

🗞 Andrey Eremin published a new edition about Static Ruby Monthly | Edition 1, January 2025

🗞 Awesome Ruby Newsletter published a new article about 💎 Issue 454 - Supercharge SQLite with Ruby Functions

🎧 Podcasts

🎧 David Hill published a new episode about Saron Yitbarek - Ode to RailsConf

🎧 Jason Swett published a new episode about The Code with Jason Podcast - Code with Jason

🎧 Jason Charnes, Chris Oliver, Andrew Mason published a new episode about Hotwire Native with Joe Masilotti

📽️ 🎥 Videos

🎥 Donn Felker published a new video series about Hotwire Native Android with Jumpstart Pro

🎥 Drifting Ruby published a new video about Password Strength | Drifting Ruby

🎥 Yaroslav Shmarov published a new video about Best VS Code Extensions for Ruby on Rails Developers for 2025 #226

🎥 Graceful.Dev published a new video about Using Ruby's super in Mix-in Modules

🎥 Yaroslav Shmarov published a new video about oEmbed - the secret public API for content metadata #227

🎥 CJ Avilla published a new video about Kafka with Ruby on Rails

🎥 Jason Swett published a new video about Making a Build Start Automatically - Live Coding on SaturnCI

✍🏾 Articles

What’s new 🆕

Avo published a new article about Authentication with the Rails 8 generator - Avo

Victor Shepelev published a new article about Seven things I know after 25 years of development

Jean Boussier published a new article about So You Want To Remove The GVL?

Dave Thomas published a new article about Simplify Logic With State Machines

Matheus Richard published a new article about Things you might not need in your tests

Pat Shaughnessy published a new article about Updating Ruby Under a Microscope

Julik Tarkhanov published a new article about Supercharge SQLite with Ruby Functions

Brad Gessler published an article about Build Rails Apps with Components

Brooke Kuhlmann published a new article about Ruby Source Parsing

Paweł Pokrywka published a new article about Understanding CORS errors in Signed Exchanges

RailsDesigner published a new article about Rails link_to_if and link_to_unless and about Multiple component variants with Tailwind

Mike Perham published a new article about Sponsoring Hanami

Gavin Morrice published an article about Sortable Semantic Version Strings in Rails (part 3)

Paweł Dąbrowski published a new article about Magic behind Ruby code you see every day

Brad Gessler published a new article about Build Rails Apps with Components

Ben Sheldon published an article about Ruby’Thread Contention’s is simply GVL Queuing

Igor Alexandrov published a new article about Rails Dockerfile Best Practices – Part 1: Image Slimming

Davide Santangelo published an article about Understanding Neural Networks with Ruby

Josef Strzibny published a new article about Setting up Cloudflare R2 buckets for Active Storage

Francois Buys and Kasper Timm Hansen published a new article about Rails database migrations best practices

How-TOs 📝

Mohit Sindhwani published an article about Using DuckDB on Windows and with Ruby

Stanko Krtalić published an article about Monitoring ActionCable

Brad Gessler published a new article about Build Rails Apps with Components

Tejas Bubane published an article about Tejas' Blog - Arbitrary handling of mock arguments in RSpec

Mike Perham published an article about Conventional Commits

Reply

or to participate.