Short Ruby Newsletter - edition 132
The one with several Ruby releases: 3.4.3, 3.5.0-preview1, and JRuby 10, where Marco Roth announces herb tools and Matz suggests that Ruby 4.0 may be released this Christmas.
Table of Contents
Find out why 1M+ professionals read Superhuman AI daily.
AI won't take over the world. People who know how to use AI will.
Here's how to stay ahead with AI:
Sign up for Superhuman AI. The AI newsletter read by 1M+ pros.
Master AI tools, tutorials, and news in just 3 minutes a day.
Become 10X more productive using AI.
๐ Launches and discounts
๐ย Rails Designer launched a new book about JavaScript for Rails Developers is out now. As a ShortRuby newsletter subscriber, you can get 10% off with code SHORTRUBY-FRIEND (valid until April 25).

Source: https://javascriptforrails.com
๐ย Matt Solt announced the launch of a new AI newsletter - RoboRuby - Ruby AI News. You can subscribe and check out the first three editions at Ruby AI news

Source: @mattsolt
๐ย Marco Roth launched a new project โ herb - โ๐ฟ Powerful and seamless HTML-aware ERB parsing and toolingโ. For more details, check out the blog post for this announcement - Introducing Herb: A new HTML-Aware ERB Parser for smarting developer toolingย and visit herb-tools.dev or the Github repo

Source: https://herb-tools.dev
๐ Events
๐ ย Friendly.rb announced that their CFP is open until July 1st, and they hint that early submissions have better chances of acceptance. Submit at friendlyrb.com/cfpย ๐Donโt forget to buy your ticket ๐ the conference has limited seats.

Source: @friendlyrb.com
๐ ย Irina Nazarova invited Ruby developers to join the SF Ruby meetup on Wednesday, April 23, at Sentry HQ

Source: @inazarova
๐ ย Javi Ramirez announced he's organizing a Ruby on Rails meetup near the beach in Lisbon in two weeks. If youโre interested, here is his group where you can keep in touch for more details โ Ruby on Wavesย ๐

Source: @rameerez
๐ ย Vienna.Rb announced their upcoming meetup on June 5th, promising an exciting event with great speakers and a mysterious surprise, with more details to be revealed soon

Source: @viennarb
๐ All about Code and Ruby
๐ ๏ธTakashi Kokubun announced an update for Ruby 3.4.3 - Read the full details on Github
๏ธ๐ย Yui Naruse announced a new release of Ruby 3.5.0 preview1
๏ธ๐ J Ruby Dev Team announced the release of a new version of JRuby 10.0.0.0
๐ Nate Berkopec shared reported exciting news from RubyKaigi: Matz confirmed that Ruby 4.0 is likely coming this Christmas

Source: @nateberkopec

Source: @nateberkopec
๐ป Code Samples
๏ธ๏ธ๐ป Hans Schnedlitz shared a tip about using HTTParty to create custom HTTP clients

Source: @hansschnedlitz.com
๏ธ๏ธ๐ป Jamie Schembri shared a quick Ruby trick to serve files using just one line of code: โruby -run -e httpdโ. This simple command comes from Ruby's standard library โ ruby/un - โUtilities to replace common UNIX commandsโ

Source: @jamie.schembri.me
๐ป Brad Gessler proposed a more intuitive Email API for Rails, showcasing a simplified approach to email composition that consolidates everything into a single file

Source: @bradgessler.com
๐ป Gregory Brown shared Conway's Game of Life code with a bug, asking readers to spot what would go wrong. The issue is the code doesn't handle dead cells with numbers of neighbors other than exactly 3, causing pattern matching to fail in those cases. Check the full thread on Bluesky for more insights

Source: @skillstopractice.com
And someone replied:

Source: @bipo1aro4ka.ukr.monsterโฌ
L๏ธater on Gregory said:

Source: @skillstopractice.com
๐ป Hans Schnedlitz showcased how to shuffle arrays randomly but consistently in Ruby by using a seed value, allowing randomized content to appear the same for all users

Source: @hansschnedlitz.com
๏ธ๐ป Ruby Cademy revealed a neat ActiveRecord trick: when a โRecordInvalidโ exception is raised, you can access the invalid record using โexception.recordโ

Source: @RubyCademy
๏ธ๐ป Igor Alexandrov shared his Kamal commands cheat sheet, covering essential deployment tasks for Ruby apps

Source: @igor_alexandrov

Source: @igor_alexandrov
๏ธ๐ป Hans Schnedlitz shared a tip for Ruby developers: use circuit breakers to prevent your app from breaking when external services go down. He used for this โ circuitbox - โCircuit breaker built with large Ruby apps in mindโ

Source: @hschnedlitz
๏ธ๏ธ๐ป Bhumi shared a handy Rails CLI tip: Running โbin/rails" shows available commands and aliases. Add โ--helpโ to any command for detailed usage instructions, like โbin/rails generate --helpโ

Source: @bhumi1102
๏ธ๐ป Ruby Cademy shared a pro tip about enhancing Rake tasks in Ruby, showing how to hook into existing tasks for additional actions like logging or notifications before or after task execution

Source: @RubyCademy
๏ธ๐ป Jamie Schembri highlighted Ruby's Etc module, a standard library feature that provides easy access to system data like user information, groups, and architecture.

Source: @jamie.schembri.me
๏ธ๐ป Nidhi Sarvaiya explored the new โparams.expectโ feature in Rails 8, finding it offers more robust error handling by providing consistent and clear validation of parameter structures

Source: @sarvaiya_nidhi

Source: @sarvaiya_nidhi
๐ Thinking about Code Design
๏ธ๐๏ธ Nate Berkopec highlights a common Cumulative Layout Shift (CLS) problem in Rails apps: missing image dimensions. He suggests storing image height and width with ActiveStorage to improve page stability and user experience. The reference for this statement here โ How to store image width & height in Rails ActiveStorage

Source: @nateberkopec
Rob replied:

Source: @robzolkos
๏ธ๐ย Jose Farias shared a Ruby coding style tip: Indenting private methods makes it easy to quickly see access restrictions when reviewing code, especially in diffs with limited context

Source: @jose.omg.lol
and Joel replied:

Source: @joel.drapper.meโฌ

Source: @joel.drapper.meโฌ
๏ธ๐ย Adam McCrea explained how job queues with different Service Level Objectives (SLOs) can dynamically scale worker processes. An urgent queue with a 5-second SLO scales down to 1 worker when idle, while a default queue with a 30-second SLO scales to zero workers when empty, helping optimize computational resources and costs

Source: @adamlogic.com
๏ธ๐ย Nate Berkopec shared his take on web application performance ๐

Source: @nateberkopec

Source: @nateberkopec
๏ธ๐ย Steven R. Baker suggested cleaning up old Rails migrations after they've been applied in production. For mature projects, keeping every migration becomes unnecessary and can complicate database management

Source: @srbaker
๏ธ๐ย JP Camara highlighted a performance improvement in Ruby's Ractor JSON parsing: Frozen interned strings are now stored in a lock-free hash, making the Ractor example twice as fast as the single-threaded version

Source: @jpcamara.com

Source: @jpcamara.com
All the resources from this thread are available here:
๐กAround code (news, findings, books, and more - all about Ruby)
๐กRuby Central announced that free RubyGem analytics are available to the community. For more details, check the blog post โ Announcing Ruby Gem analytics powered by ClickHouse and Ruby Central

Source: @rubycentral.org
๐กย Peter Cooper shared his early impressions of GPT 4.1, testing it with a Ruby library

Source: @cooperx86

Source: @cooperx86

Source: @cooperx86
โค๏ธ Why Choose Ruby and Rails
โค๏ธ Irina Nazarova shared a powerful quote highlighting Rails as a secret superpower, revealing how successful companies have been consistently building their products with Ruby on Rails. You can read the entire thread on the Threadreader

Source: @inazarova
She continued bringing relevant arguments on this take, showing how amazing Ruby ecosystem really is ๐

Source: @inazarova

Source: @inazarova

Source: @inazarova
๐ฏ๐ต RubyKaigi 2025
We have grouped here all the news related to RubyKaigi 2025.
๐คณ Posts
๏ธ๐คณย Stephen Margheim highlighted Matz's RubyKaigi 2025 closing keynote, emphasizing Ruby's strong potential as a central language in the emerging AI era

Source: @fractaledmind.bsky.social
๐คณย Maciej Mensfeld shared exciting news from RubyKaigi: He developed a Ractor-based deserialization engine for Karafka, achieving a 30% performance boost without requiring any code changes from users

Source: @maciejmensfeld
๐ Notes
๐ย Mish shared a beautiful illustration with explanations about โHow Do Computers Understand Ruby?โ during RubyKaigi 2025

Source: @mishmashtan

Source: @mishmashtan
And also some more notes โ โRuby Commiters and The Worldโ. Feel free and check both posts to see each illustration in more detail:

Source: @mishmashtan

Source: @mishmashtan
๐พ Games and Trick 2025
๐พย Yusuke Endoh announced the publication of the winning entries for TRICK 2025, expressing gratitude to all participants, viewers, and judges. Check the GitHub repo to see each solutionโ tric/trick2025

Source: @mametter
๐พย Vladimir Dementyev shared a game โ RubyKaigi Warrior 2025ย - โGame written in Ruby for learning Rubyโ.ย If youโre also interested, the game is available to play even if you were not at RubyKaigi ๐คฉ

Source: @palkan_tula
๏ธ๐พย Sunao Hogelog Komuro posted an IRB Treasure Hunt game ๐and is available to try it here โ ruby-quiz2025 - IRB Treasure Hunt

Source: @hogelog
๐ Launches and Updates
๐ย Marco Roth created a new gem โ herb - โ๐ฟ Powerful and seamless HTML-aware ERB parsing and toolingโ. For more details, check out the blog post for this announcement - Introducing Herb: A new HTML-Aware ERB Parser for smarting developer tooling

Source: @marcoroth_
๐ย Stephen Margheim created a new gem โ plume - โRuby library for working with SQLite elegantlyโ

Source: @fractaledmind.bsky.social
๐งฐย Takashi Kokubun announced that upstreamed ZJIT to CRuby. More details can be seen here โ ZJIT #13131

Source: @k0kubun
This is related to Maxime Chevalier-Boisvert proposal for next generation JIT for Ruby. For more details check out this issue โ Feature #21221 - Proposal to upstream ZJIT
๐ RubyKaigi Slides
๐ Yuta Saito published his slides from RubyKaigi 2025 โ The Evolution of the CRuby Build System
๐ Takashi Kokubun published his slides from RubyKaigi 2025 โ Deoptimization: How YJIT Speeds Up Ruby by Slowing Down
๐ Marco Roth published his slides from RubyKaigi 2025 โ Empowering Developers with HTML-Aware ERB Tooling
๐ Yuichiro Kaneko published his slides from RubyKaigi 2025 โ Rubyโs Line Breaks
๐ Mari Imaizumi published her slides from RubyKaigi 2025 โย Ruby Taught Me About Under the Hood
๐ Yudai Takada / Ydah published his slides from RubyKaigi 2025 โ Dissecting and Reconstructing Ruby Syntactic Structuresย andย Ruby on Railroad: The Power of Visualizingย CFG
๐ Makicamel published his slides from RubyKaigi 2025 โ Road to RubyKaigi: Making Tinny Chiptunes with Ruby
๐ Jeremy Evans published his slides from RubyKaigi 2025 โ Eliminating Unnecessary Implicit Allocations
๐ Ryuta Kamizono published his slides from RubyKaigi 2025 โ RuboCop: Modularity and AST Insights
๐ Koichi Sasada published his slides from RubyKaigi 2025 โ Toward Ractor local GC
๐ Peter Zhu published his slides from RubyKaigi 2025 โ Modular Garbage Collectors in Ruby
๐ Charles Oliver Nutter published his slides from RubyKaigi 2025 โ Optimizing JRuby 10
๐ Aaron Patterson published their slides from DevMeething at RubyKaigi โ RubyKaigi Dev Meeting 2025
๐ Alex Rodionov published their slides โ Bazel for Ruby (RubyKaigi 2025)
๐ Ryo Ishigaki published their slides โ Making a MIDI controller device with PicoRuby/R2P2 (RubyKaigi 2025 LT)
๐ State of Namespace published their slides โ State of Namespace
๐ Soutaro Matsumoto published their slides โ API for docs
๐งฐ Gems, Libraries, Tools and Updates
๐ New Gems and Repos
๐ย Socket announced that Rubygems ecosystem support is now generally available. Check the blog post for more details โ Rubygems Ecosystem Support Now Generally Available

Source: @socket.dev
๐ย Stephen shared a new gem of Takumi Shotokuโ rbs-trace - โRBS::Trace automatically collects argument and return types and saves RBS type declarations as RBS files or comments.โ

Source: @diaconou.com
๐ย Cรฉdric Delalande created a new gem โ zed-test-toggle - โA small gem to toggle between source and test in the Zed editorโ
๐ย OpenAI released a new gem โ openai-ruby - โOpenAIโs official Ruby SDKโ

Source: @alexrudall
๐ย Nagendra Dhanakeerthi released a new gem โ mcp_on_ruby - โA Ruby implementation of the Model Context Protocolโ
๐ Burhan Gardezi published a new repository rails_interview_questions - A collection of Rails interview questions categorized by topics
๐งฐ Updates
๐งฐย Justin Bowen announced a new version of activeagent - โActiveAgent Rails framework for Agent Appsโ

Source: @TonsOfFun111
๐งฐย Carmine Paolino released a new version of ruby_llm - โA delightful Ruby way to work with AI. No configuration madness, no complex callbacks, no handler hell โ just beautiful, expressive Ruby codeโ

Source: @paolino
๐งฐย Yudai Takada / Ydah released a new version of RuboCop RSpec v3.6.0 (RubyKaigi 2025 Edition๐)ย - โCode style checking for RSpec filesโ
๐งฐย Kasper Timm Hansen announced an update for oaken - โOaken upgrades your development seeds, lets you reuse them in tests & blends the best of fixtures & factories into one cohesive wholeโ

Source: @kaspth.bsky.social
๐งฐย David Heinemeier Hansson announced an update for Kamal - โDeploy web apps anywhereโ. For more details, check out this PR โ Maintenance modeย #1497

Source: @dhh
๐งฐย Mario Alberto Chรกvez announced a new version of Rails MCP Server with HTTP Server-Sent Events support

Source: @mario_chavez
๐งฐ Alexey Varfolomeev announced a new version for RubyMine 2025.1: Major AI Assistant Upgrade, Cloud-Based Code Completion for RBS, More Ruby 3.4 Support, Kamal Schema Updates, Enhanced RemDev, and More

Source: @rubymine
๐คย Gregory Brown shared a critical insight about generative AI in coding. Here is just a part, you can check all details from this thread on Bluesky

Source: @skillstopractice.com
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ
๏ธ๐ Irina Nazarova posted her slides from TropicalOnRails 2025 โ Startup on Rails
๐ย Ruby On Rails published a new edition of This Weekin Rails about Ruby on Railsโ Improved leap year counting performance and more!
๐ย Hotwire Weekly published a new edition about Week 16 - Introducing Herb, JSX over the Wire, and more!
๐ Sajjad Umar published a new edition about Ruby on Rails โ April 2025
๐ Awesome Ruby Newsletter published a new article about ๐ Issue 465 - Kotlin, Swift, and Ruby losing popularity
๐ง Podcasts
๐ง David Hill published a new podcast โ Ode to RailsConf - Jim Remsik
๐ง Brendan Buckingham published a new podcast โ Rails Business - John Nunemaker
๐ง Remote Ruby published a new podcast about โ John Nunemaker
๐ง The Bike Shed published a new podcast about โ 459: Paper Data Structures with Sally Hall
๐ฅ Videos
๐ฅ wrocloverb published the videos from the conference at wroc_love.rb 2025
โ๐พ Articles
Whatโs new ๐
๐ Abdelkader Boudih published a new article about LLMs and the Ossification of APIs: Are We Stuck with Prehistoric Patterns?
๐ Mike Perham published a new article about Sidekiq 8.0: Profiling
๐ Marco Roth published a new article about Introducing Herb: A new HTML-Aware ERB Parser for smarting developer tooling
๐ Akshay Khot published a new article about Fix N+1 Queries Without Eager Loading Using SQL Subqueries
๐ Philip Poots published a new article about HTML Gardening with Herb and about HTML Parsley with Herb
๐ Henry Maddocks published a new article about Letโs talk about Type Coercion in Ruby
๐ Jake Zimmerman published a new article about Typing instance variables in mixins
๐ Josua Schmid published a new article about web-console and processes
๐ Cody Brooks published a new article about Can YOU Still Receive Connections At REDIS_URL
๐ Jeffery Morhous published a new article about Is No PaaS really a good idea for Rails?
๐ Gavin Morrice published a new article about On the importance of syntax and semantics; How Ruby's power lies in its beauty
๐ย Jeffery Morhous published an article about Is No PaaS really a good idea for Rails? - Honeybadger Developer Blog
๐ Thomas Riboulet published a new article about Pre-build a Secure Authentication Layer with Authentication Zero for Ruby on Rails
๐ย Jakob Skjerning published a new article about Driving View Transitions with Hotwired/Turbo
๐ Joey Wang published a new article about Addressing Out-of-Order Updates in Concurrent Systems
How-TOs ๐
Mateus Pereira published a new article about Setting Up Rails with Dev Containers
๐ย Rodrigo Nogueira published a new article about Creating APIs with Grape and Rails: A Complete Journey - Part 2
๐ย Pete Hawkins published a new article about How to Supercharge Ruby on Rails Development with Cursor AI
๐ Aaron Sumner published a new article about Old Ruby and Rails on new hardware with dev containers
๐ Tejas Bubane published a new article about Add IP restriction on Rack app for specific accounts
๐ Harrison Broadbent published a new article about Blogging with Ruby, Middleman and Tailwind CSS and about Add an RSS feed to your Middleman Blog
๐ Nikhil published a new article about How to Use Enum Attributes in Rails Models for Cleaner Code
Avdi Grimm published a new article about How to Understand a New Codebase Quickly
Jamie Schembri published a new article about Your Dependencies Are Not Free
Sean Goedecke published a new article about A practical guide to coding securely with LLMs
Brooke Kuhlmann published a new article about Git Rebase Squash











