Rails 8.2 adds read-only query command for AI agents; Rust-in-monolith shows Rails is thriving

jonmarkgo · x · 2026-11-12

Rails 8.2 introduces bin/rails query, a read-only database command that returns JSON so AI coding agents can inspect production data without accidentally modifying it; it's been backported to Rails 7.2, 8.0 and 8.1. Ben Halpern shared it alongside his "Long Live Rails" essay pushing back on the "Rails is dead" takes after DHH's Rails World 2026 talk about going "pencils down" on hand-typing code and shipping lots of Rust. At Forem/DEV, an autonomous rust-loop ports CPU-bound Ruby hot paths into in-process Rust extensions via magnus and rb-sys — one workflow cut page load time by 75%. The author argues Rust's easy embedding in the Rails monolith is proof of the framework's vitality after 22 years of evolution.

Original post →

More from coding & agent

coding & agent channel →