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:

Source: https://www.rubytriathlon.com
๐ 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

Source: @jamie.schembri.me
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

Source: @hansschnedlitz.com

Source: @hansschnedlitz.com
๐ป Nate Berkopec shared a code sample about Rails performance anti-pattern with caching

Source: @nateberkopec.bsky.social
๏ธ๐ป Hans Schnedlitz shared a code sample about converting a number in Excel

Source: @hansschnedlitz.com
๏ธ๐ปย 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

Source: @jamie.schembri.me

Source: @jamie.schembri.me

Source: @jamie.schembri.me
(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.
๐ Thinking about Code Design
๏ธ๏ธ๐ย ๏ธAdrian Marin asked about any performance penalties from using both ViewComponents and Phlex in the same Rails app:

Source: @adrianthedev.com
Here are some replies:

Source: @joel.drapper.me

Source: @palkan_tula
๏ธ๐ย Alexis Bernard shared about fighting an attack by a botnet:

Source: @alexis.bernard.io
๏ธ๐ย Kirill Shevchenko shared about using Rails solid gems to simplify things:

Source: @kirill_shevch
๏ธ๐ย 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:

Source: @eSquareDesign
๏ธ๐ย Nate Berkopec warned about the performance issues caused by using hashes with many dynamic keys in ActiveRecord models

Source: @nateberkopec
๐ก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

Source: @distilled.skillstopractice.com
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:
Ruby methods are colorless (2024)
Working with Ruby Threads (2013)
Matz is not a threading guy (2013)
Nobody understands GIL (2013)
concurrent-ruby gem
async gem
โค๏ธ Why Choose Ruby and Rails
โค๏ธ Javier Cervantes asked why people love Ruby programming language:
Here are some replies:

Source: @skillstopractice.com

Source: @seanofthedev.bsky.social
โค๏ธ Ruby Central shared RailsConf 2025 Keynote: John Dewsnap on What Happened After Flexcar Switched from Java to Ruby on Rails

Source: @rubycentral.org
โค๏ธย Neeraj Singh shared about how Rails should be promoted more:

Source: @neerajsingh0101
๐งฐ 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โ

Source: https://github.com/yfractal/sdb
๐ย Giovapanasiti published a new gem โ active_storage_dashboard - โA mountable Rails engine that provides a dashboard to view Active Storage dataโ

Source: @Giovapanasiti
๐ย 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:

Source: @postmodern-mod3.bsky.social
๐งฐย 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!

Source: @joel.drapper.me
๐งฐย Alexis Bernard announced a new release for active_hashcash - โProtect Rails applications against bots and brute force attacks without annoying humansโ

Source: @alexis.bernard.io
๐งฐย 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: ๐ ๐ ๐ง ๐ฅ โ๐พ
๐ 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

















