Short Ruby Newsletter - edition 136

Then one where namespaces on read and ZJIT were merged into Ruby and where Obie Fernandez launched a new framework for AI workflows in Ruby.

Table of Contents

[Sponsor โ†“] reinteractive.com

Even skilled in-house Rails teams benefit from a fresh, unbiased Rails App review. reinteractive's Comprehensive Rails App Review offers that crucial external lens, going beyond typical internal checks.

๐Ÿ“… Events

๐Ÿ“… Normal Rails World tickets were sold out within the first few minutes, and corporate tickets were also sold out within 20 to 30 minutes

Source: @rails

๐Ÿ“…ย Euruko shared that regular tickets are available:

Source: @euruko

And if you have tickets for Rails World and plan to buy a ticket for Friendly.rb and EuRuKo then you can take part in Ruby Triathlon:

๐Ÿ‘‰ All about Code and Ruby

๐Ÿ‘‰ Takashi Kokubun announced Ruby 3.4.4 Released

From the same announcement we found:

โ€œWe intend to release the latest stable Ruby version (currently Ruby 3.4) every two months following the most recent release. Following this release (3.4.4), Ruby 3.4.5 is scheduled for July, 3.4.6 for September, 3.4.7 for November, and 3.4.8 for Januaryโ€

๐Ÿ‘‰ Satoshi Tagomori merged on 11 May the feature Namespace on Read to Ruby master

The feature has a big discussion on the Ruby bug tracker that I think you should read and there was also a big discussion on HackerNews about it.

๐Ÿ‘‰ Xavier Noria published a very good digest called Namespaces 101

๐Ÿ‘‰ Max Bernstein announced that ZJIT has been merged into Ruby:

ZJIT is a new just-in-time (JIT) Ruby compiler built into the reference Ruby implementation, YARV, by the same compiler group that brought you YJIT. We (Maxime Chevalier-Boisvert, Takashi Kokubun, Alan Wu, Max Bernstein, and Aiden Fox Ivey) have been working on ZJIT since the beginning of this year.

๐Ÿ‘‰ Richard Schneeman announced that Ruby version 3.4.4ย is available on Heroku

๐Ÿ’ป Code Samples

๐Ÿ’ป ๏ธJamie Schembri shared a code sample about pattern matching

If youโ€™ve read this far, you probably enjoy this newsletter. You can support it by sharing it on social media and inviting your friends or colleagues to subscribe. Additionally, you can help keep it free for a long time for the entire community by upgrading to a paid subscription.

๏ธ๐Ÿ’ป ๏ธHans Schnedlitz posted a code sample about ActiveSupport โ€œmattr_accessorโ€œ method

๐Ÿ’ป Nate Berkopec shared a code sample about Rails performance anti-pattern with caching

๏ธ๐Ÿ’ป Hans Schnedlitz shared a code sample about converting a number in Excel

๏ธ๐Ÿ’ปย Daveyon Mayne shared a code sample about using MessageVerifier:

Source: @sylarruby

๏ธ๐Ÿ’ปย Zeke Gabrielse shared a code sample about using pattern matching:

Source: @_m27e

๏ธ๐Ÿ’ป Hans Schnedlitz shared Ruby regex techniques for removing emojis

Source: @hschnedlitz

๏ธ๐Ÿ’ป Jamie Schembri shared a simple Ruby tip for making a class initializer private

(ad)

Learn AI in 5 minutes a day

Whatโ€™s the secret to staying ahead of the curve in the world of AI? Information. Luckily, you can join 1,000,000+ early adopters reading The Rundown AI โ€” the free newsletter that makes you smarter on AI with just a 5-minute read per day.

Sign up to start learning.

๐Ÿ“ Thinking about Code Design

๏ธ๏ธ๐Ÿ“ย ๏ธAdrian Marin asked about any performance penalties from using both ViewComponents and Phlex in the same Rails app:

Here are some replies:

Source: @palkan_tula

๏ธ๐Ÿ“ย Alexis Bernard shared about fighting an attack by a botnet:

๏ธ๐Ÿ“ย Kirill Shevchenko shared about using Rails solid gems to simplify things:

๏ธ๐Ÿ“ย Nick Schwaderer shared about working on Scarpe and how this reminds him of Noah Gibbs. If you plan to attend Brighton Ruby you can contribute to Noah Gibbs Education Grant

Source: @schwad_rb

๏ธ๐Ÿ“ย Errol Schmidt shared a long post about things they found in Rails codebases:

๏ธ๐Ÿ“ย Nate Berkopec warned about the performance issues caused by using hashes with many dynamic keys in ActiveRecord models

๐Ÿ’กAround code (news, findings, books, and more - all about Ruby)

๐Ÿ’กย Vladimir Dementyev shared they are working on making the Rails tutorial run in browser:

Source: @palkan_tula

Source: @palkan_tula

You can read the entire thread outside X via Threadreader here (not affiliated).

๐Ÿ’กย Ruby + Rails : Distilled requested RSS feed links from developers who write Ruby-related blog posts

Here is a list of all recommendations from this post:

๐Ÿ’กย Akshay Khot asked about resources to learn concurrent programming in Ruby:

Here are some of the recommended resources:

โค๏ธ Why Choose Ruby and Rails

โค๏ธ Javier Cervantes asked why people love Ruby programming language:

Source: @jvrc.ca

Here are some replies:

Source: @jvrc.ca

โค๏ธ Ruby Central shared RailsConf 2025 Keynote: John Dewsnap on What Happened After Flexcar Switched from Java to Ruby on Rails

โค๏ธย Neeraj Singh shared about how Rails should be promoted more:

๐Ÿงฐ Gems, Libraries, Tools and Updates

๐Ÿ†• New Gems and Repos

๐Ÿ†•ย Rails Designer published a new gem courrier - API-powered email delivery for Ruby apps. With support for Mailgun, Postmark, Resend and more (here you can read the introductory article Salut Courrier! A New Ruby Gem to Send Emails)

๐Ÿ†•ย Igor Kasyanchuk published a new gem called get-smart - Learn Ruby/Rails topics during your appโ€™s boot time

๐Ÿ†•ย Nate Berkopec discovered a new gem made by Mike Yang โ†’ sdb - โ€œA Ruby stack profiler without GVLโ€œ

๐Ÿ†•ย Giovapanasiti published a new gem โ†’ active_storage_dashboard - โ€œA mountable Rails engine that provides a dashboard to view Active Storage dataโ€œ

๐Ÿ†•ย Obie Fernandezย published a new gem โ†’ย roast - โ€œStructured AI workflows made easyโ€œ

๐Ÿ†•ย Mike Subelsky published a new gem bundler_mcp - A Model Context Protocol (MCP) server enabling AI agents to query information about gems in a Ruby project's Gemfile, including source code and metadata

๐Ÿงฐ Updates

๐Ÿงฐย Ruby Gems published a new release 3.6.9 Released

๐Ÿงฐย postmodern shared that Ruby Install now supports Ruby 3.4.4:

๐Ÿงฐย Joel Drapper announced theyโ€™re moving several Ruby projects under the Yippee.fun GitHub organization. Check out all the projects mentioned in the post by accessing Yippee!

๐Ÿงฐย Alexis Bernard announced a new release for active_hashcash - โ€œProtect Rails applications against bots and brute force attacks without annoying humansโ€œ

๐Ÿงฐย Carmine Paolino announced a new version of RubyLLM 1.3.0: Contexts, Local Models, and the End of Manual Model Tracking

๐Ÿงฐย David Rodrรญguez released an update for rubygems - โ€œLibrary packaging and distribution for Rubyโ€œ

๐Ÿงฐย Jeremy Evans announced a new version of Roda 3.92.0 - โ€œRouting Tree Web Toolkitโ€œ

๐Ÿงฐย Mohammad A. Ali released a new version of TinyBits - โ€œtinybits binary encoding for Rubyโ€œ. For more details about this release, check out his blog post โ†’ TinyBits are now more tiny with dictionaryย support

๐Ÿงฐย Stan Lo opened a draft PR for ruby-lsp - โ€œAn opinionated language server for Rubyโ€œ. For more details, check out his PR โ†’ Add Experimental MCP Support #3396

๐Ÿคย Typecraft emphasized AI's potential impact on creativity and curiosity

Source: @ty

More content: ๐Ÿ“š ๐Ÿ—ž ๐ŸŽง ๐ŸŽฅ โœ๐Ÿพ

๐Ÿ—ž Newsletters

๐Ÿ—ž This Week in Rails published a new article about RFC-9111 style Cache-Control directives hit or miss

๐Ÿ—ž Hotwire Weekly published a new article about Week 20 - First Pass Stimulus MCP Server, Hotwire Native Tab Bar, and more!

๐Ÿ—ž Ruby Weekly published a new article about Say hello to ZJIT

๐Ÿ—ž Matt Solt published a new edition of Ruby AI news about Ruby AI News - May 16th, 2025

๐Ÿ—ž Sajjad Umar published a new edition of Ruby on Rails - May 2025

๐Ÿ—ž Awesome Ruby Newsletter published a new article about Issue 469 - Ruby 3.5 Feature: Namespace on read

๐ŸŽง Podcasts

๐ŸŽง The Bike Shed published two new episodes:

๐ŸŽง IndieRails published a new podcast โ†’ JD Graffam - See If They Hug You Backย 

๐ŸŽง Jason Swett published a new podcast โ†’ 256 - Dave Farley, Author of Modern Software Engineering

๐ŸŽง Remote Ruby published a new podcast โ†’ Gems, Jokes, and JavaScript

๐ŸŽฅ Videos

๐ŸŽฅ Drifting Ruby published a new video about LLM Insights | Drifting Ruby

โœ๐Ÿพ Articles

Whatโ€™s new ๐Ÿ†•

๐Ÿ†• Avo published an article about Sign in with Apple for Rails apps

๐Ÿ†• Vishnu M published a new article about Understanding Active Record Connection Pooling

๐Ÿ†• Akshay Khot published a new article about Serving Large Files in Rails with a Reverse Proxy Server

๐Ÿ†• RoRvsWild's blog published a new article about Experimenting to optimize SQL query by x360 and some tips to read query plans

๐Ÿ†• Chetan Mittal published a new article about Whatโ€™s Next in AI That Can Be Built Using Ruby on Rails in 2025

๐Ÿ†• Felipe Vogel published a new article about Reimplementing polymorphic associations in the database

๐Ÿ†• Radan Skoric published a new article about Coding agent in 94 lines of Ruby

๐Ÿ†• Dave Thomas published a new article about Method Chaining vs Function Composition

๐Ÿ†• Kevin Murphy published a new article about Rails Controller Callback Order With Concerns

๐Ÿ†• Gosha published a new article about Ruby: sane sorbet-ls setup in Emacs

๐Ÿ†• David published a new article about How .excluding works in Rails

๐Ÿ†• Harsh Patel published a new article about Modern Rails Rendering Techniques: Choosing Between Turbo Drive, Frames, Streams and Morph

๐Ÿ†• Team Timescale published a new article about Your Rails App Isnโ€™t Slowโ€”Your Database Is

๐Ÿ†• Ed Izaguirre published a new article about Building AI Applications in Ruby

๐Ÿ†• Mohammad A. Ali published a new article about TinyBits are now more tiny with dictionary support

๐Ÿ†• Mish published a new article about RubyKaigi 2025 Recap

๐Ÿ†• Zeke Gabrielse published a new article about Steering the ship

๐Ÿ†• Jamie Schembri published an article about SOLID: Interface Segregation Principle (ISP)

๐Ÿ†• Rob Race published a new article about Avoiding N+1 Queries in Rails

๐Ÿ†• Jeremy Kreutzbender shared an article about GitHub CoPilot Instructions Can Catch Ruby On Rails N+1 Queries

๐Ÿ†• Josh Frankel published a new article about ViewComponents, the Missing View Layer for Rails

๐Ÿ†• Josef Strzibny published a new article about Kamal 2.6 is out with maintenance mode

๐Ÿ†• Adrian Marin published a new article about Two things I wish I knew when I started to build an internal tool framework

How-TOs ๐Ÿ“

๐Ÿ“ Rails Designer published a new article about Natural Language Parser for Recurring Events using Stimulus

๐Ÿ“ Paweล‚ Urbanek published a new article about My puts Debugging Workflow in Rails Apps

๐Ÿ“ Rob Race published an article about How to Build a Twitter Clone with Rails 8 Inertia and React

๐Ÿ“ Max Chernyak published a new article about Getting Answers from a Big PDF with RubyLLM

๐Ÿ“ Vitalii Elenhaupt published a new article about Using React Components in Stimulus Controllers

All issues