---
title: "Do static types help coding agents with Ruby?"
publication: "Ruby Weekly"
issue: 828
published_at: "2026-11-26"
canonical_url: "https://rubyweekly.com/issues/828"
---

Plus Matz on the future of open source, smaller precompiled gems, and a rewritten official Rails security guide.        

#​828 — November 26, 2026 

[Read on the Web](https://rubyweekly.com/issues/828)  

Together with [![Tiger Data logo\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_1280,h_282/e_make_transparent/co_white,e_outline:30/px1u7kjyvz7xnbm6ytir.png)](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=ruby-weekly-newsletter&utm_content=primary-rails-1126)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/qtwn3eoichp9yivp2vic.jpg)](https://blog.rubygems.org/2026/11/23/content-addressable-gems.html)  

[Content-Addressable Gems: The New Way of Packaging Precompiled Binaries](https://blog.rubygems.org/2026/11/23/content-addressable-gems.html) — RubyGems 4.1 lets native gems ship a separate precompiled build for each Ruby minor version, so you only download the binary for the version you're running. Another neat thing is when a new Ruby version lands, maintainers can add a matching build even to older gem releases. 

Jenny Shen (RubyGems)  

💡 In related news, [RubyGems and Bundler 4.1.1](https://blog.rubygems.org/2026/11/25/4.1.1-released.html) are out along with [4.0.25](https://blog.rubygems.org/2026/11/25/4.0.25-released.html).  [![\](https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/c219ee4d.png)](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=ruby-weekly-newsletter&utm_content=primary-rails-1126) 

[Your Rails Reports Don’t Need a Second Database](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=ruby-weekly-newsletter&utm_content=primary-rails-1126) — Slow Rails reports usually get a warehouse and an ETL job. Then numbers lag and you run two systems. TimescaleDB extends the Postgres your app already uses, so reports run on live data with plain Active Record. [$1000 credit on Tiger Cloud](https://www.tigerdata.com/go/trial?utm_source=content-syndication&utm_medium=referral&utm_campaign=ruby-weekly-newsletter&utm_content=primary-rails-1126). 

Tiger Data (creators of TimescaleDB) sponsor   

[Do Static Types Help Coding Agents?](https://evilmartians.com/chronicles/type-errors-cost-our-coding-agents-under-one-percent-of-their-time) — It's often claimed types can make agents produce better code, so the Evil Martians tested it out in various ways, including adding features to a Rails app written in plain Ruby, RBS and Sorbet flavors. Task solving rates were all roughly the same, however. 

Irina Nazarova (Evil Martians)  

💡 Nate Berkopec's [stylebench](https://nateberkopec.github.io/stylebench/) comes at AI and Ruby from a different direction, showing the results of different small Ruby coding tasks through various models as a way to see which models you vibe with best.  

**⚡️ IN BRIEF:** 

- 🔒 Following on from the recent [8.1](https://github.com/puma/puma/releases/tag/v8.1.0) releases, [Puma 8.1.3, 8.0.5 and 7.2.4](https://github.com/puma/puma/releases/tag/v8.1.3) fix more security issues (all rated medium or low).
- 🔒 [Rack 3.2.9, 3.1.24 and 2.2.26](https://github.com/rack/rack/security/advisories) also fix several security issues, the most serious of the 3.x fixes tackling [a multipart `charset` lookup](https://github.com/rack/rack/security/advisories/GHSA-58mf-c3jj-277p) that can be used to peg CPU.
- Rails has merged a change so [Active Job loads arrays of records in one query](https://github.com/rails/rails/pull/59961) per model (rather than one per record).
- 🎉 22 years later, the Rails repo has [𝕏 passed 100,000 commits](https://x.com/rails/status/2123000218241118467).   

🔒 [The Rails Security Guide, Rewritten](https://edgeguides.rubyonrails.org/security.html) — The official Rails security guide has had [a major rewrite](https://github.com/rails/rails/pull/58618) targeting the latest (edge) Rails 8.2 era (which is why it's an 'Edge Guide' for now) and removing outdated advice. 

Ayush Newatia (Rails Foundation)   

🇯🇵 [Matz: Open Source Culture 'Might Not Last Another 10 Years'](https://type.jp/et/feature/32219/) — In a Japanese interview (my browser did a good job of auto-translating it!) Matz worries that as AI is more heavily used to build apps, the open source underneath becomes more hidden, so fewer people will fund or contribute to it. 

Engineer type   

📄 [Using the Official Ruby Image for Rails Dev Containers](https://t27duck.com/posts/33-using-the-official-ruby-image-for-rails-dev-containers) – As a way to avoid waiting on image updates when a new Ruby release lands. t27duck 

📄 [Using UUIDv7 Primary Keys in Rails with Postgres 18](https://www.randomerrata.com/articles/2026/uuidv7/) Matias Korhonen  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/m8lihbbx5kf9binlun31.jpg)](https://family-mruby.github.io/)  

[Family mruby: A Ruby + C GUI Operating System for the ESP32](https://family-mruby.github.io/) — A tiny windowed OS for ESP32 microcontrollers that runs apps written in Ruby, complete with graphics, sound and even MIDI support! A neat project that you can [even try from your browser](https://family-mruby.github.io/studio/) thanks to a WebAssembly build. ([GitHub repo](https://github.com/family-mruby/family-mruby).) 

Family mruby Project   

[RuboCop 1.93 Can Now Use Prism 'Without the Middleman'](https://metaredux.com/posts/2026/11/25/rubocop-1-93.html) — [Prism](https://ruby.github.io/prism/) is Ruby's default parser, but until now RuboCop had to use it through a translation layer. 1.93 adds a new engine that uses it directly, and Bozhidar explains what changed and how to try it. 

Bozhidar Batsov   

[New Relic Bill Climbing With Your Team? AppSignal Has No Per-Seat Fees](https://www.appsignal.com/alternative/new-relic-alternative?utm_medium=paid&utm_campaign=rubyweekly&utm_source=rubyweekly&utm_content=sponsored&utm_term=1126) — Errors, N+1s, Sidekiq jobs and logs in one Ruby gem. Unlimited users, free dev-to-dev support, [30-day trial](https://www.appsignal.com/alternative/new-relic-alternative?utm_medium=paid&utm_campaign=rubyweekly&utm_source=rubyweekly&utm_content=sponsored&utm_term=1126). 

AppSignal sponsor   

[Phlex 3.0 Beta: View Components Now Compile to String Appends](https://github.com/yippee-fun/phlex/releases/tag/3.0.0.beta1) — Phlex lets you build HTML views as plain Ruby objects, and v3's new compiler rewrites components into string appends with identical output. [Joel's benchmarking](https://www.rubyforum.org/t/phlex-3-beta-is-out-with-a-specialised-ruby-to-ruby-jit-for-components/877) shows the compiler helping v3 to render >30x faster than v2. 

Joel Drapper   

[Bord: A Rails Engine for Internal Dashboards](https://railsdesigner.com/introducing-bord-a-rails-engine-for-your-dashboard/) — Declare metrics, lists and per-record actions (e.g. to refund an order, retry a job, log in as a different user) with a small routing-style DSL and you get an admin dashboard for your app. 

Rails Designer   

[jekyll-ruby-link-checker: Find Dead Links in Jekyll Sites](https://code.dblock.org/2026/11/23/the-link-is-not-dead-its-behind-cloudflare.html) — A plugin that checks links, anchors and assets at build time, with a cache and GitHub workflows to comment on PRs. 

Daniel Doubrovkine   

- [json 3.2](https://github.com/ruby/json/releases/tag/v3.2.0) – `script_safe` mode, for embedding JSON in a page, now follows the HTML spec, escaping script tags and HTML comment openers properly.
- [Addressable 2.10](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md) – The more powerful/flexible `URI` replacement gets numerous strictness/validation improvements.
- 🔒 [JRuby 9.4.16](https://www.jruby.org/2026/11/23/jruby-9-4-16-0.html) – The Ruby 3.1-compatible branch updates several dependencies to pick up security fixes.
- 🤖 [OpenAI Ruby SDK 1.0](https://github.com/openai/openai-ruby/releases/tag/v1.0.0) – The official OpenAI library hits 1.0. There's [a migration guide](https://github.com/openai/openai-ruby/blob/v1.0.0/docs/MIGRATION_1.0.0.md) for existing users.
- [Kino 0.8](https://github.com/yaroslav/kino/releases/tag/v0.8.0) – The experimental Ractor-based Rack server adds WebSocket support.
- [Hashdiff 1.3](https://github.com/liufengyun/hashdiff) – Generate deep diffs of hashes and arrays.   

📢 Elsewhere in the ecosystem  

- 🇬🇧 [UK Ruby Conference](https://www.ukruby.com) is a new one-day event from the South West Ruby team, on June 18, 2027 in Bristol, England. Speakers so far include Rosa Gutiérrez, Mike Dalessio, Jean Boussier, and Maciej Mensfeld.
- 📺 DHH sat down with a16z to discuss [▶️ why AI has him working 16 hour days](https://www.youtube.com/watch?v=TtOoLanFzGw).
- [minipg](https://progrium.github.io/minipg/) is a neat 'Postgres as a single executable' option that provides an interesting way to test/work with Postgres in development. A `.pgdb` directory holds your database, and a server can be spun up and down on demand.
- On the topic of Postgres, I should take this opportunity to recommend [Postgres Weekly](https://postgresweekly.com/), our sister newsletter for all things Postgres related! 

Also, I keep meaning to write a blog post about this, but if you fancy thinking about what `arr.max_by &arr.tally` does, and why, it's a cute little golfy trick…         

Curated by [Peter Cooper](https://twitter.com/cooperx86) and [Glenn Goodrich](https://twitter.com/ruprict).
Published by [Cooperpress](https://cooperpress.com/). 

[Change your email](https://rubyweekly.com/edit_subscription/*|UID|*) or [Stop getting this newsletter.](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

Other weekly newsletters we publish include [Postgres Weekly](https://postgresweekly.com/), [React Status](https://react.statuscode.com/), [Frontend Focus](https://frontendfoc.us/), and [JavaScript Weekly](https://javascriptweekly.com/).
