#​750 — May 15, 2025

Read on the Web

Together with  Testdouble

Ruby Weekly

A Proposal for Defining Virtual Top Level Namespaces — The idea is that defined namespaces can load libraries and dependencies and keep them separate from other namespaces. Numerous benefits are promised like avoiding issues with globally shared objects, name conflicts, or version conflicts. There’s an interesting blend of support and criticism in the responses.

Satoshi Tagomori et al.

Rails Upgrades: The Good Parts — Trust the agency behind the Standard Ruby tools used by 20,000+ projects. Complex upgrades for GitHub, Gusto, and Zendesk. We set you up for independent, painless, and iterative future upgrades. Flexible contracts, no retainers, no subscriptions.

Test Double sponsor

ZJIT Has Been Merged Into Ruby — ZJIT, a new JIT compiler from the YJIT team, has just been merged into Ruby after Matz’s approval. ZJIT takes a different, more traditional approach to YJIT – all explained in the post – with the hope of being easier for developers to understand and contribute to. Both ZJIT and YJIT should be in Ruby 3.5, but this development lays the ground for the future.

Max Bernstein

Ruby 3.4.4 Released — The latest minor release includes a fix for a YJIT bug as well as a build issue on Windows. Due to the importance of these fixes, it has been released ahead of schedule, meaning Ruby 3.4.5 is now expected in July.

Takashi Kokubun

IN BRIEF:

  • 🇳🇱 Last week we mentioned the schedule for Rails World tickets to be released, and we hope you got lucky as they all sold out in hours – again!

  • The Rails project has adopted Ruby's community guidelines for conduct.

🤖 Building a 'Coding Agent' in 94 Lines of Ruby — Inspired by a Go article that used 100 lines, Radan shows how Ruby can be used to build a (somewhat) functional coding agent in even fewer lines of code. It leans a lot on RubyLLM, but this is still very cool.

Radan Skorić

Serving Large Files in Rails with a Reverse Proxy Server — Serving large files directly through an app is rarely the best or most efficient way to do it. Luckily, Akshay shows us a better way in quite some depth.

Akshay Khot

All-in-one Ruby monitoring that helps you move fast and fix things — See why thousands of developers love Honeybadger. Try our free developer plan →

Honeybadger sponsor

📄 Finding the Ideal Number of Threads Per Process using GVL Instrumentation Vishnu M (BigBinary)

📄 An Introduction to Solid Queue for Rails Hans-Jörg Schnedlitz (AppSignal)

📄 Implementing a Mutex for Active Job Shivam Mishra

📄 My puts Debugging Workflow in Rails Apps Paweł Urbanek

📄 Continuous Delivery for Gems James Couball

🛠 Code & Tools

Amazing Print 1.8: Pretty Print Your Ruby Objects with Style — A fork of AwesomePrint that continues to get updates and an essential tool for ‘pretty printing’ Ruby objects. There’s nothing new but v1.8 formally adds Ruby 3.4 support.

AmazingPrint

🔥 Executing Structured AI Workflows with Shopify RoastRoast is a new framework for creating structured AI workflows which are defined in YAML files, for things like evaluating tests, static analysis, doc generation, and more.

Daniel Doubrovkine

🤖 Make Your Next Heroku Upgrade Delightfully Boring with Bonsai — The humans behind RailsBump.org  offer fixed-cost upgrade services. Let our AI-powered process get you there, faster.

🌳 Bonsai by FastRuby.io sponsor

🔭 Astronoby 0.7: Compute Astronomical Data and Events — Load in ephemeris files that are used in astrometry to locate various space objects and calculate things like transit times, moon phases, and such things. The project wiki provides some examples, as does this blog series by Rémy.

Rémy Hannequin

Semian: Added Resiliency When Calling External Services — A library from Shopify we first linked exactly eight years ago! Semian intercepts resource access by several different libraries (e.g. mysal2, redis, Net::HTTP) and ‘fails fast’ when said external resources are slow or unresponsive.

Shopify

📰 Classifieds

🐌 If your Rails team needs a little boost… We can augment your team with devs to help you keep up with your delivery schedule. Test us!

📢  Elsewhere

A quick roundup of some other interesting updates or useful resources in the broader developer landscape:

  • If you've got a color picker in your webapp, did you know it's possible to add support for wide gamut P3 colors and alpha transparency?

  • It's written in Go, but fx is a JSON viewing and processing tool I find very helpful and as of this week's v36 release it now supports streaming JSON and tailing too.

  • ▶️ A quick, 4 minute demo of using GitHub Copilot's 'agent mode' in VS Code to build an app.

  • If you're tired of seeing React used everywhere, turn away.. but I found tscircuit very interesting as it lets you lay out electronics circuit boards using JSX.

  • Pinkerton is a Python-powered security auditing tool for looking through a site's JavaScript files for accidentally included secrets and tokens.

P.S. If you happen to be at Google I/O next week, come and say hi if you see me about. I'm going to be there to see whatever Google has to announce! :-)