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.