#782 — January 8, 2026 |
|
Ruby Weekly |
|
|
Zverok's Guide to Language Changes in Ruby 4.0 — Each year, Victor produces a mammoth roundup of changes introduced in the latest Ruby release (Ruby 4.0, in this case). For a release that doesn’t have a huge amount of changes at the language level, he’s come up with some fantastic examples and this is a must-read, as always. Victor Shepelev |
😱 Rails 7.1 Security Support Ended in '25. Need to Upgrade? — No more security updates for Rails 7.1. Get a free Automated Roadmap in minutes. Know what it takes before you start. Need help executing the plan? Our 🌳 Bonsai team can help: Fixed-cost, monthly maintenance by our experts starting at $2,000/month. FastRuby.io | Upgrade Experts sponsor |
|
ZJIT is Now Available in Ruby 4.0 — ZJIT is a new just-in-time (JIT) compiler built into the reference Ruby implementation and included as an optional feature in 4.0. It’s not faster than YJIT yet, but its architecture gives it a higher potential performance ceiling and enables more developers to be able to work on it. Max Bernstein |
|
⚡️ IN BRIEF:
|
|
A Ruby Regular Expression Engine — Kevin has been working on exreg, a pure Ruby regular expression engine that implements most of Onigmo’s features. Kevin Newton |
|
A Ruby YAML Parser — Not happy merely building a regular expression engine in pure Ruby (above), Kevin also turned his hand to creating a pure-Ruby implementation of a YAML 1.2 parser and emitter called Psych::Pure. Kevin Newton |
|
An Introduction to Ruby Parsing with Prism — Since Ruby 3.4, Prism is Ruby’s default parser, and here Matheus explains its advantages before showing us how to use it to lex and parse code ourselves to surprisingly fun ends (including implementing a simple emoji-based representation of Ruby!) Matheus Richard |
|
Ruby Errors? Fix ‘Em Fast for FREE with Honeybadger — Do you support web apps in production? We contextualize Ruby logs so you can fix errors fast. Get your FREE account → Honeybadger sponsor |
|
📄 Building an AI Agent Inside a 7-Year Old Rails App Catalin Ionescu 📄 Rails 7.2 Connection Pool Changes May Slow Down Your App geetfun 📄 How to Create a Markdown Editor in a Rails App Hans-Jörg Schnedlitz |
🛠 Code & Tools |
|
Charm Ruby: Glamorous Terminal Libraries for Ruby — If you’ve ever worked with Go, you’ll have encountered Charm’s fantastic libraries, including their Bubble Tea TUI framework. This is an attempt to bring a little of that Go charm to Ruby too. Note: This is not from Charm themselves; it’s from Marco Roth, well known for his work on Herb. Marco Roth |
|
Stepped: Rails Engine for Orchestrating Complex Workflows — A Rails engine, extracted from a production app, that orchestrates complex workflows as a tree of actions through Active Job. Robert Starsi |
|
🧠 Smart Rails Applications Are Not the Future, They're the Present — We identify problems worth solving with AI and implement cost-effective solutions that save significant organizational time. SINAPTIA sponsor |
|
Boxwerk: Experimental Box-Powered Ruby Package System — Ruby 4.0 introduced an experimental ‘box’ feature providing in-process separation of classes and modules. Boxwerk is the first attempt I’ve seen to put it to practical use. David Cristofaro |
|
executorch-ruby: Run PyTorch Models in Ruby — Provides bindings to ExecuTorch enabling you to run exported PyTorch models ( Ben Garcia |
|
|
📢 Elsewhere in the ecosystem |
|
Some other interesting stories in the broader landscape:
|

