Short Ruby Newsletter - edition 123
The one with Ruby 3.4.2 release and a new JRuby release, while Aaron Patterson article was on front page of Hacker News
Table of Contents
(ad)
Here’s Why Over 4 Million Professionals Read Morning Brew
Business news explained in plain English
Straight facts, zero fluff, & plenty of puns
100% free
🚀 Launches and discounts
🚀 Joel Drapper announced the release of Phlex 2.0:

Source: https://www.phlex.fun/
🚀 Offer Lab launched their own product offerlab.com

Source: @OfferLabHQ
🚀 Donn Felker announced the Hotwire Native Android course is now complete:

Source: @donnfelker
🚀 Wilbert Liu launched a new tool Markdown to email:

Source: @wilbertliu
🚀 Ruby Central shared a new initiative: community spotlight

Source: @rubycentralorg
🚀 Andrea Fomera announced alpha testing for Spin CLI

Source: @afomera.dev
📅 Event
📅 Ruby Central announced the openings for Scholars and Guides program

Source: @rubycentral.org
📆 You can find the full list of conferences, meetups, open CFPs on rubyconferences.org
👉 All about Code and Ruby
👉 k0kubun announced the release of Ruby 3.4.2
👉 postmodern-mod3.bsky.social brings good news: Ruby 3.4.2 is ready to install 🥳

Source: @postmodern-mod3.bsky.social
👉 Aaron Patterson published an article about Tiny JITs for a Faster FFI in CRuby
You should also check the comments on Hacker News
👉 Peter Cooper shared a GitHub Gist with some conventions to help build Rails apps using LLMs

Source: @cooperx86
💻 Code Samples
️💻 Ahmed Nadar shared a code sample about Turbo Streams: Immediate vs. Delayed broadcasting

Source: @ahmednadar
️️💻 Kyrylo Silin shared some code samples about using Comparable#clamp method

Source: @kyrylosilin
The code sample he provided first:

Source: @kyrylosilin
Simplifies to this after refactoring ✨:

Source: @kyrylosilin
️💻 Michael Chaney shared a bug story about a trailing comma in his code

Source: @MichaelDChaney
️💻 Alessandro Rodi shared a way to customize Turbo’s failed request messages

Source: @coorasse
️💻 Ruby Cademy shared how handy has_many macros are in Rails

Source: @RubyCademy
️💻 OKURA Masafumi shared a code sample about Ruby’s string justification methods:
💻 Dave Copeland shared a handy Ruby pattern for smarter factory methods

Source: @davetron5000.com
And then follows up with:

Source: @davetron5000.com
️💻 Ruby Cademy shared a smoother way to handle unknown attributes

Source: @RubyCademy
️💻 Bob Head shared a trick for quick sitemap refresh with Kamal

Source: @BobHeadMaker
💻 Prem Sichanugrist shared his discovery 🕵🏼♂️: the absence of no implicit “it“ in rescue blocks
and Xavier Noria pointed to a solution ⚡️:

Source: @fxn.bsky.social
️💻 Ruby Cademy shared a code sample about using to_set for array comparison

Source: @RubyCademy
💻 Jason Charnes shared a code sample about numeric nonzero

Source: @jmcharnes.bsky.social
💻 Henrik Hauge Bjørnskov posted how to use “class_variants“ with Flex
Joel Drapper brought some alternatives for Henrik’s code:

Source: @joel.drapper.me

Source: @joel.drapper.me
️💻 Ruby Cademy posted a code sample about defining a custom ActiveModel type

Source: @RubyCademy
📐 Thinking about Code Design
️📐 Ismael Celis shared a code sample about real-time view layer event sourcing

Source: @ismaelcelis.com

Source: @ismaelcelis.com

Source: @ismaelcelis.com
📐 Xavier Noria shared insights about Ruby method performance optimization:

Source: @fxn.bsky.social

Source: @fxn.bsky.social
️📐 Igor Alexandrov published that his team is migrating to Minitest

Source: @igor_alexandrov
And his network immediately replied 👨💻:

Source: @MichaelDChaney

Source: @dan_wetherald

Source: @_ChrisCovington
️📐 Irina Nazarova shared some insights from SFRuby:

Source: @inazarova
📐 Noel Rappin asked about common Bundler/Rubygem troubleshooting scenarios
Here are some responses:
📐 Xavier Noria shared some words on clearer module decoration

Source: @fxn.bsky.social
Plus an extra information:

Source: @fxn.bsky.social
💡Around code (news, findings, books, and more - all about Ruby)
💡 Hiroshi Shibata announced updates to Ruby branch maintainers:
💡 Dean De Hart reminded us about a Game Boy emulator written in Ruby: Ruby Boy

Source: @Deaniocom
💡 Zil N asked about Rails productivity hacks

Source: @zilasino
And the responses rolls in 🤩:

Source: @marcosbondel
Here is the presented gem by William Estoque: awesome-print

Source: @westoque

Source: @BilalBudhani
💡 Avi Flombaum reflected on AI code generation with the focus on Hotwire and Stimulus

Source: @aviflombaum
❤️ Why Choose Ruby and Rails
❤️ Elvinas Predkelis shared his positive amazement with the Rails ecosystem:

Source: @predkelis
❤️ Jorge Manrubia highlighted the impressive productivity of 37signals team

Source: @jorgemanru
❤️ Michael Koper reinforced Jorge’s point: Rails indeed empowers small teams to build big things:

Source: @michaelkoper
❤️ Mark Allen shared the capabilities and the power you hold when building apps, dismissing the downfall of Ruby on Rails:

Source: @markhenryallen
❤️ Michael Schwab shared about Ruby on Rails:

Source: @schwabsauce
🧰 Gems, Libraries, Tools and Updates
🆕 New Gems and Repos
🆕 Alessandro Fazzi published a new repo alessandro-fazzi/ruby-devel-notebook: Jupiter notebook docker image with ruby kernel
🆕 Nick Sutterer published a new gem trailblazer-test - Super strong, non-verbose tests for your operations.
🆕 Javi Ramirez introduced a new gem of usage_credits: 💳✨ Add usage-based credits to your Rails app

Source: @rameerez
🧰 Updates
🧰 J Ruby Dev Team rolls out a new version of JRuby - 9.4.12.0
🧰 Phusion B.V. presented a new version of Passenger 6.0.25
🧰 Brad Gessler released an update on mailto

Source: @bradgessler.com
🧰 Ismael Celis announced an update about his event sourcing app with a demo

Source: @ismaelcelis.com
🧰 Bozhidar Batsov announced a new version of RuboCop
Here is also the plugin migration guide
🧰 Samuel Williams announced a new version of rocketry/rubydns

Source: @ioquatix
🧰 postmodern-mod3.bsky.social announced an update for Ronin

Source: @postmodern-mod3.bsky.social
🤝 Zeke Gabrielse spoke about the founder’s paradox

Source: @_m27e
🤝 Nate Berkopec shared some thoughts on web performance metrics

Source: @nateberkopec.bsky.social
🤝 Michael Chaney talks about the importance of using constants and meaningful names instead of magic numbers

Source: @MichaelDChaney

Source: @MichaelDChaney
🤝 Andrew Atkinson shared his experience with query optimization

Source: @andyatkinson.com
This post brought the following questions:

Source: @andyatkinson.com

Source: @andyatkinson.com
🤝 Justin Jackson shared his thoughts on Why AI Won't Replace Web Developers

Source: @justinjackson.ca
More content: 📚 🗞 🎧 🎥 ✍🏾
🗞 This Week In Rails published a new edition about Routes Lookup Optimizations, PostgreSQL Alter Table improvements and more!
🗞 Ruby Weekly published a new edition about Using JITs for faster FFI in Ruby
🗞 Hotwire Weekly published a new article about Week 07 - Hotwire Native Cameras, OfferLab's Success, and more!
🗞 Awesome Ruby Newsletter published a new edition about Issue 456 - Tiny JITs for a Faster FFI
🎧 Podcasts
🎧 Pablo shared a new episode about: On tests and RSpec
🎧 Remote Ruby published a new episode about: So Long, and Thanks for All the BETs! - Remote Ruby
🎧 The Ruby On Rails Podcast published a new episode about Episode 532: Hotwire Native with Joe Masilotti
🎥 Videos
🎥 Thoughtbot published a new video about Live coding on AI projects
️🎥 Irina Nazarova shared a link to the livestream from SFRuby Meetup 2025
🎥 Boulder Ruby published new video resources: Presentation Night Meetup Videos
🎥 Dave Kimura shared a new video about Frozen String Literal
Jason Sweett published a new video about Performance Improvements for Build Navigation - Live Coding on SaturnCI
Kaleb Lape published a new video about Rails 8 Tutorial 2025 | Add Payments in 5 Minutes with the Pay Gem 💰
✍🏾 Articles
What’s new 🆕
🆕 Ruby Gems published a new article about January 2025 RubyGems Updates
🆕 Greg Molnar published an article about The state of Security in Rails 8
🆕 Aaron Patterson posted an article about Tiny JITs for a Faster FFI in CRuby
🆕 Pat Shaughnessy published a new article about Using Different Size Pools
🆕 Charles Oliver Nutter published a new article about Boosting JRuby Startup with AppCDS and AOT caching
🆕 Shane P. published an article about Turbo Streams and design
🆕 Dave Thomas published a new article about Source Files: Keep Code Local
🆕 Michiharu Ono published an article about How (and How NOT) to Name Rails Models Beyond the Obvious
🆕 Josef Strzibny published a new article about Combining multiple sitemaps with a sitemap index
🆕 Davide Santangelo published an article about Building a Tiny Language Model (LLM) in Ruby: A Step-by-Step Guide - V3
🆕 Kyrylo Silin published a new article about OKLCH CSS variables for Tailwind v4 colors
🆕 Nemwel Boniface published an article about Stimulus.js Explained: A Beginner’s Guide for Ruby on Rails Developers - DEV Community
🆕 Saeloun Blog published a new article about Rails 8 Adds A New Script Folder By Default And Scripts Generator.
🆕 Jeremy Smith shared an article about Electronic Signatures with Rails
🆕 Pedro Leonardo published an article about Email Verification with Sent Codes in Ruby on Rails without Devise
🆕 Julie Kent published an article about Rails async queries by example
How-TOs 📝
📝 Rails Designer published a new article about How to Send Requests from Stimulus Controllers
📝 Joël Quenneville published a new article about How to customize ids in URLs in your Rails app
📝 Brooke Kuhlmann published a new article about RSpec Configuration
📝Dave Kimura published a new article about How to fix asdf 0.16.x which "broke" my ruby version
✍️ Pascal Laliberté shared an article entitled Not Killing It where he talks about what comes with progress
✍️ Rails Designer published a new article about Build Features from the Outside In
✍️ Zeke Gabrielse published a new article about The outlier paradox
✍️ Reni Mercier published a new article about How I use git add –patch for reviewing my work
✍️ Ryan Bigg published a new article about Ghosts 'n' Stuff
✍️ Victor Cobos published a new article about Hide Scrollbars While Keeping Scrolling Intact




















