Ruby Weekly
Plus Gemstash winds down, browserless tests for Hotwire apps, and making a gem coding agents will actually use.

#​827 — November 19, 2026

Read on the Web

Together with  FastRuby.io

Ruby Weekly

Upgrade Ruby Now: Seven Memory Safety Bugs Fixed — Ruby's regex engine and string case conversion had seven memory safety bugs, and the core team knows of proof-of-concept remote code execution exploits using some of them. Upgrade to 4.0.10, 3.4.13 or 3.3.14, all of which were just released.

Yusuke Endoh and Ruby Core

💡 Security firm Durendal explains how changing the case of a ß character in some encodings can overflow a buffer, and reports RCE on a stock Rails app.

⏱️ Dennis Paagman has timed the rollout. Compared to the last critical releases, the official Docker image only took 74 minutes to appear. Speedshop also has a live tracker of availability of the new versions within common tools and platforms.

🚨 Rails 8.0 Is Now EOL. Get to 8.1 Without Losing a Sprint — Our AI agent works in the background on your CI runners and opens small, reviewable PRs only when your suite is green. Your team keeps shipping features. Nothing merges without you. Join the beta waitlist and get a free Rails 8.1 readiness check.

FastRuby.io® | AI-native Rails Maintenance sponsor

How I Optimized RubyLLM for Coding Agents — Agents were ignoring RubyLLM's rapidly growing number of new features and building their own plumbing, so Carmine set out to fix the library rather than the prompts. Some good general lessons in here for any gem author.

Carmine Paolino

⚡️ IN BRIEF:

Why String#truncate_words Spikes Memory on Large Strings — A trailing .* in Active Support's truncate_words regex was making Onigmo track all remaining characters, causing memory spikes on long strings. A fix has been merged into Rails main.

Robert Shecter

Your Rails App’s Event Data Is Growing. Compress It — Compress time-series data by up to 95% on Tiger Cloud. Works with ActiveRecord. $1000 credit to start.

Tiger Data (creators of TimescaleDB) sponsor

📄 DNSimple's Path to Rails 8.1: From Vue and jQuery to Stimulus – How around 50 Vue components became native HTML, Turbo Frames or Stimulus controllers. Dallas Read (DNSimple)

📊 Spinel vs JRuby vs CRuby with YJIT: 28 Benchmarks – Spinel (which can't yet run Rails directly) beats YJIT on all 28, though warmed-up JRuby beats Spinel on two. Robert Zieliński

📄 SSA from Bytecode: A Mini Version of How ZJIT Builds Its IR Max Bernstein

🛠 Code & Tools

Puma 8.1: A New mold_worker Mode, Plus Security Fixes — The popular web server has added an experimental mold_worker mode, which forks new workers from a warmed-up worker that's stopped serving traffic. Nine security fixes, mostly for DoS bugs, also landed this week, so get 8.1.2, 8.0.4 or 7.2.3.

Puma

Using Hotwire with Rails: A New Official Rails Guide — This new guide covers the Rails side of Hotwire, Rails' default front-end stack, which until now only had a section in the JavaScript guide.

Rails Guides

Rails Monitoring for the Whole Team, Not Per Seat. Try AppSignal Free — Errors, slow queries, deploy markers and uptime checks in one place. Unlimited users, dev-to-dev support, 30-day trial.

AppSignal sponsor

Gemstash 2.9 Fixes a Critical RCE, as RubyGems 'Sunsets' It — Gemstash is an official RubyGems caching proxy that can host private gems too. This release fixes eight vulnerabilities (including a CVSS 10 RCE) but is also its final feature release as the project has been 'sunset' with some recommended migration options.

Colby Swandale

Hotwire Inspector: A Browser Extension for Inspecting Hotwire Apps — A new browser extension that maps out a page's Turbo Frames, Stimulus controllers, targets and Turbo events. Handy for getting to grips with an unfamiliar feature, or working out why a frame or controller isn't behaving.

Radan Skorić

rails-jsdom: Browserless Interaction Tests for Hotwire Apps — Write tests that read like system tests, but run your real Stimulus controllers and Turbo inside jsdom, with no browser, server or Capybara waits.

Jake Howerton

📰 Classifieds

Stop reinstalling gems on every CI run. WarpBuild snapshot runners start with your toolchain ready. Get $50 in free credits with START50.

📢  Elsewhere in the ecosystem

  • 🎨 Asobi is a bit like p5.js or Processing, but with a Ruby twist! It's a creative coding gem that turns Ruby objects into pictures and looping animations (shown above). Run asobi and your sketch opens in a browser and updates on saves, or try the Web-based playground here.

  • Snails is a Rails-like framework for API-only apps that builds on Matz's Spinel to compile apps into a single native binary, minus Active Record, views and gems.

  • Roy Tomeij says he's keen to personally sponsor community-run Ruby events in 2027, up to €1k each and €15k in total.

Issue 826 #827