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

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.

πŸ“ 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

❀️ Neeraj Singh shared about how Rails should be promoted more:

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

πŸ†• 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β€œ

🧰 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β€œ

🧰 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

πŸ†• 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

Reply

or to participate.