Short Ruby Newsletter - edition 140

The one where JRuby 9.4.13.0 gets released, Jose Valim will be at SF Ruby Meetup, Jason Sweet discusses Service Objects, and jemalloc development comes to an end

In partnership with

Table of Contents

(ad ๐Ÿ‘‡)

Youโ€™ve never experienced business news like this.

Morning Brew delivers business news the way busy professionals want it โ€” quick, clear, and written like a human.

No jargon. No endless paragraphs. Just the dayโ€™s most important stories, with a dash of personality that makes them surprisingly fun to read.

No matter your industry, Morning Brewโ€™s daily email keeps you up to speed on the news shaping your career and lifeโ€”in a way youโ€™ll actually enjoy.

Best part? Itโ€™s 100% free. Sign up in 15 seconds, and if you end up missing the long, drawn-out articles of traditional business media, you can always go back.

Check it out

๐Ÿš€ Launches and discounts

๐Ÿš€ย Kasper Timm Hansen is hosting a new workshop next Thursday. Hurry up and book your place โ†’ Yes, you can read Active Record's code

๐Ÿš€ย Ruby Cademy announced Companies - directory showcasing companies using Ruby on Rails

Source: @RubyCademy

๐Ÿ“… Events

๐Ÿ“…ย Friendly.rb shared exciting updates about this year's event ๐Ÿฅณ Get Tickets at Friendly.rb

Source: @friendlyrb

๐Ÿ“…ย Irina Nazarova announced a new speaker for SF Ruby x Elixir Meetup. Hurry up and book your place โ†’ SF Ruby & Elixir with Josรฉ Valim at PlanetScale

๐Ÿ“…ย Ruby Conf Thailand announced the speaker lineup for next year event. Tickets are already available here โ†’ RUBYCONFTH Tickets

Source: @rubyconfth

๐Ÿ“…ย Ruby Central announced Hack Spaces and ODD Projects for Rails Conf:

๐Ÿ“…ย Honeybadger.io announced a giveaway with a ticket to RailsConf. This might be your chance, so donโ€™t miss this opportunity โ†’ Win a free ticket to RailsConf

๐Ÿ‘‰ All about Code and Ruby

(partnership ๐Ÿ‘‡)

Good software takes care. I'm Gosha, a full-stack engineer with over 20 years experience, a big part of it spent building and scaling Ruby and Rails applications. I work closely with founders and teams to ship software that's simple, flexible, and ready to evolve with the business.

Clean code, clear process, no unnecessary complexity. Let's talk!

๐Ÿ‘‰ J Ruby Dev Team announced a new version release โ†’ JRuby 9.4.13.0

๐Ÿ‘‰ Jason Evans announced that jemallocย open development has come to an end:

โ€œWhat now? As far as I am concerned, โ€œupstreamโ€ jemalloc development has concluded. Metaโ€™s needs stopped aligning well with those of external uses some time ago, and they are better off doing their own thing. Were I to reengage, the first step would be at least hundreds of hours of refactoring to pay off accrued technical debt. And Iโ€™m not sufficiently excited by what would come after to pay such a high upfront cost. Perhaps others will create viable forks, whether from the dev branch or from the 5.3.0 release (already three years old!)โ€

Jason Evans - in jemalloc Postmortem

Nate Berkopec talked about how Ruby will not be affected in the short term by jemalloc's discotinued development

๐Ÿ’ป Code Samples

๐Ÿ’ป Nate Berkopec shared a code sample about using the Repository pattern. Adding here just the public interface of that object:

๐Ÿ’ป Ruby Cademy posted a tip on using โ€œcreate_join_tableโ€ for joining tables

Source: @RubyCademy

Source: @RubyCademy

Later on, added a new example for customizing the join table name โšก๏ธย 

Source: @RubyCademy

๐Ÿ’ป Prabin Poudel shared an efficient tip on how to reset database records and re-run the seed file

Source: @coolprobn

๏ธ๐Ÿ’ป ๏ธRuby Cademy showcased the usage of POSIX character classes in Regex

Source: @RubyCademy

๏ธ๐Ÿ’ป Brad Gessler posted a thread about Phlex table abstractions. If youโ€™re curious, he also has a blog post related to it where it goes a little bit in detail โ†’ A Phlex table abstraction

Source: @bradgessler

Source: @bradgessler

Source: @bradgessler

๏ธ๐Ÿ’ป Hans Schnedlitz posted a code snippet about OptionParser

Source: @hschnedlitz

(ad ๐Ÿ‘‡)

Start learning AI in 2025

Keeping up with AI is hard โ€“ we get it!

Thatโ€™s why over 1M professionals read Superhuman AI to stay ahead.

  • Get daily AI news, tools, and tutorials

  • Learn new AI skills you can use at work in 3 mins a day

  • Become 10X more productive

Sign up and start mastering AI

๐Ÿ“ Thinking about Code Design

๏ธ๏ธ๐Ÿ“ย Mikkel Malmberg shared how to progressively load images component using ActiveStorage and Stimulus

Source: @mikker.dev

๏ธ๐Ÿ“ย Jason Swett talked a little bit about โ€œservice objectโ€œ

Source: @JasonSwett

Here are some replies from the community:

Source: @pragdave

Source: @pabcumo

Source: @domster

Source: @alxbarret

๏ธ๐Ÿ“ย Jean Boussier replied with his opinion on the following question of Peter

Source: @push.cxโ€ฌ

๏ธ๐Ÿ“ย Jorge Manrubia shared some insights on Domain Driven Design

Source: @jorgemanru

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

๐Ÿ’กย Ruby On Rails announced a new documentation PR is up for community review: Threading and Code Execution Guide

Source: @rails

๐Ÿ’กย Jorge Manrubia posted a new preview for the editor he is working on ๐Ÿ‘€ย 

Source: @jorgemanru

๐Ÿ’กย Vitaly Slobodin shared that pulling diagnostics is now available in Zed Editor

Source: @Vitalliumm

๐Ÿงฐ Gems, Libraries, Tools and Updates

๐Ÿ†• New Gems and Repos

๐Ÿ†• A new gem was released to provide Ruby bindings for whisper.cppย 

๐Ÿ†•ย Yaroslav Shmarov created some auth views, available for everyone to use. These are available on GitHub โ†’ yshmarov/moneygun/devise

Source: @yarotheslav

๐Ÿ†•ย Joel Drapperย built a new gem โ†’ rubyschema - โ€œRuby schema is a collection of schemas for the YAML and JSON configuration in common Ruby gemsโ€œ

๐Ÿ†•ย Patrick Vice made a new gem โ†’ ruby_llm-mcp - โ€œSupport for MCP clients to use as tools in Ruby LLMโ€œ

๐Ÿ†•ย Martin Emde built a new gem โ†’ studio - โ€œTurn any CLI command into a one-room MCP server. Clean, compact. Move-in ready.โ€œ

๐Ÿ†•ย Rails Designer published a new package turbo-transition - โ€œA โ€œminionโ€ for Turbo-Frames and Streams. This custom element transitions elements as they enter or leave the DOMโ€

๐Ÿงฐ Updates

๐Ÿงฐย Jean Boussier merged an optimization to Ruby for setting and accessing class ivars lock-free in multi-ractor mode. According to the shared bechmark it is 15 times faster:

๐Ÿงฐย Vitaly Slobodin announced a new version of zed-extensions/ruby - โ€œRuby extension for Zedโ€œ

Source: @Vitalliumm

๐Ÿงฐย Nate Berkopec announced a new version of rack-mini-profiler - โ€œProfiler for your development and production Ruby rack apps.โ€œ

๐Ÿงฐย Yaroslav Shmarov announced an update for moneygun - โ€œSHIP YOUR NEXT APP FAST! Rails 8 SaaS Multitenancy boilerplate. Users-Memberships-Organizations. Row-based. Set tenant based on URL params.โ€œ

๐Ÿงฐย Jeremy Evans announced a new version of roda - โ€œA routing tree web toolkit, designed for building fast and maintainable web applications in Ruby.โ€œ

๐Ÿงฐย Charles Oliver Nutter started testing Hanami on JRuby:

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

๐ŸนBaltic Ruby 2025

๐Ÿ“š๏ธ Charles Oliver Nutter shared his slides from Baltic Ruby โ†’ JRuby Everywhere! Desktop, Server, and Mobile

๐Ÿ“š๏ธ Gavin Morrice shared his slides from Baltic Ruby โ†’ Objects talking to objects III

๐Ÿ—ž Newsletters

๐Ÿ—ž Ruby On Rails published a new edition about New Rails Foundation Guides PR, fix affected_rows for SQLite adapter and more!

๐Ÿ—ž Ruby Weekly published a new edition about Debugging and parsing Ruby

๐Ÿ—ž Hotwire Weekly published a new article about Week 24 - Stimulus client-side ๐Ÿ—žvalidations, Turbo SwiftUI? and more!

๐Ÿ—ž Matt Solt published a new edition about Ruby AI News - June 10th, 2025

๐Ÿ—ž Awesome Ruby Newsletter published a new edition about Issue 473 - Build a minimal decorator with Ruby in 30 minutes

๐ŸŽง Podcasts

๐ŸŽง Indie Rails published a new podcast episode โ†’ Zeke Gabrielse - Build for Your Users Without Obeying Them

๐ŸŽง Remote Ruby published a new podcast episode โ†’ The MMM Episode-Mario Kart, Meta Tags, and One Month Rails

๐ŸŽฅ Videos

๐ŸŽฅ Droidcon Italy published a new video โ†’ My Journey Through the Evolution of App Development: From Web to Mobile and Back

๐ŸŽฅ Ruby Central published a new video โ†’ Ruby Talks With Irina Nazarova: Meet the Woman Leading the Ruby Revival in San Francisco

๐ŸŽฅ Big Binary published a new video โ†’ Active Job Continuations

๐ŸŽฅ Thoughtbot published a new video โ†’ Can AI fix flaky Rails tests?

๐ŸŽฅ Ruby Central published a new video โ†’ Ruby Talks: Kasper Timm Hansen on Why You Should Learn to Read Rails Source Code & RailsConf 2025

๐ŸŽฅ Go Rails published a new video โ†’ Authentication Generator Test Helpers

๐ŸŽฅ Dev Tester published a new video โ†’ Create Review Apps From Your Pull Requests With Kamal

๐ŸŽฅ Malachi Rails published new short videos โ†’ Rails Best Tips No.1, Rails Best Tips No 2,ย Rails Best Tips No 3, Rails Best Tips No 4

โœ๐Ÿพ Articles

Whatโ€™s new ๐Ÿ†•

๐Ÿ†• Avo published a new article about GitHub Flavored Markdown in Rails with Commonmarkerย and aboutย Passwordless authentication in Rails with NoPassword

๐Ÿ†• Vishnu M published a new article about Active Job Continuations

๐Ÿ†•Victor Shepelev published a new article about Notes on code, text, and war. Week 1: Believing in text

๐Ÿ†• Chad Pytel and Kate Young published a new article about Building a Rails Feature with AI and Active Job

๐Ÿ†• Sergio Souza published a new article about Debugging Rails Applications Made Easy

๐Ÿ†• Reni Mercier published a new article about Build a minimal decorator with Ruby in 30 minutes

๐Ÿ†•ย Piotr Jurewicz published a new article about I do not blindly trust setting things in new_framework_defaults initializers anymore

๐Ÿ†• Brad Gessler published a new article about Content Paywall

๐Ÿ†• Akshay Khot published a new article about Extracting Options from Arguments in Rails

๐Ÿ†• Ruby Cademy published a new article about TURBO PREFETCHING

๐Ÿ†• Dmitry Pogrebnoy published a new article about Inside Ruby Debuggers: TracePoint, Instruction Sequence, and CRuby API

๐Ÿ†• Tim Riley published a new article about Hear from our founding patrons

๐Ÿ†• Rails Designer published a new article about Introducing Turbo Transition: create smoother Turbo Streams

๐Ÿ†• kaukas published a new article about Contextivitis

How-TOs ๐Ÿ“

๐Ÿ“ Dave Copeland published a new article about Neovim and LSP Servers Working with Docker-based Development

Akshay Khot published a new article about Thoughts on Freelancing for Web Developers

All issues