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.

πŸš€ 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

πŸ“ 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.β€œ

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

πŸŽ₯ Big Binary published a new video β†’ Active Job Continuations

πŸŽ₯ Thoughtbot published a new video β†’ Can AI fix flaky Rails tests?

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

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

Reply

or to participate.