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

๐Ÿš€ Harrison Broadbent launched tailcolors.com

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

๐Ÿ—ž Hotwire Weekly published a new edition about Week 05 - Monitoring ActionCable, back to jQuery in 2025, and more! โ€ข Buttondown

๐Ÿ—ž 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.