|
Happy Wednesday! Here is issue #173 of our newsletter, bringing you news and the best tools for your current or future Rails projects… 1. 🎤 Ernesto is excited about the future of Rails in this agentic era. Here's why. Ernesto recaps Irina Nazarova's SF Ruby 2026 opening keynote, where founders explain why Rails suits coding agents. Read on for the agent evals Irina shared, who is already working on many of the gaps founders name, from UI components to LLM tracing, and the upcoming Rails 8.2 changes in frontend, security, and performance. 2. 🛡️ A wall of CRITICALs in your bundler-audit report? Which do you fix first? Gelsey shows how to combine CVSS, the CISA KEV catalog, and EPSS to narrow the advisories in your Gemfile.lock and then check whether each flaw is actually reachable in your Rails app. Read on for the seven reachability questions, a 3. 🗂️ Where should this new class live? Kevin Murphy's answer while pairing on a controller refactor was "I don't care," because he didn't yet know if the class was worth keeping. He suggests inlining the class in the controller, reshaping it until you're sure you want it, and only then picking its home. Read it for the inline class example, what changed about the class along the way, and why deferring the question of whether it's a model, a service, a decorator, or a presenter avoids forcing a structure too early. 4. 💎 What does gem install no longer do in RubyGems 4.1? Hiroshi Shibata, lead maintainer of RubyGems and Bundler, measures what changed in gem install: installing activesupport went from 40 HTTP requests on 4.0.22 to 25 on 4.1.0.beta2, since RubyGems no longer fetches a gemspec for each installed gem and the PubGrub resolver asks about fewer candidates. Read it for the compact index cache that makes repeat resolves of rails come back as 304 Not Modified with no body, the libraries Bundler vendors dropped from seven to two, and why gem search -r got slower. 5. 🧊 18 months for a tenth of the Ruby files. AI agents typed the rest in four days. Nathan Broadbent explains how DocSpring went from about 10% of Ruby files typed to every Ruby file Sorbet checks in its Rails app, plus every ERB view, and what it took: their own Sorbet plugins for RSpec, FactoryBot and ActiveAdmin, a HAML to ERB conversion, and a CI check that fails when a file's sigil is weakened. Read it for the real bugs the typing turned up, like a 6. 🤖 Can a coding agent actually use your library? Carmine Paolino treated coding agents as RubyLLM's main users and is 28 rounds into the loop behind RubyLLM 2.2's fixes, having agents build a chat app on it and reading the transcripts for where they stumble. On his own benchmark, which he says he tuned against on purpose, most of the improvement came from fixing the library rather than tuning the prompt. Read it for the sandbox generator default that looked right but failed every agent that followed it, why an error message works as documentation an agent can't skip, and the one thing the fixes didn't improve: the token bill. 7. 🌌 Want an SVG map of the night sky for a given date and place? Rémy Hannequin shows how to build an SVG sky map in Ruby, using Astronoby to turn a 909-star catalogue into altitude and azimuth for your date, time and location. Read it for the trigonometry that places each star on the disk, how magnitude sets the star size, and the bonus step that adds the Moon. 8. 🛡️ Can your coding agent force push? Geoffrey Huntley's write-up of his AI DevCon New York talk shows how he patched git with a Nix overlay so it cannot force push, on the principle that the best way to stop an agent is to remove its ability to do it. Read it for the AGENTS.md note that replaces a Jira ticket by backing out temporary patches after seven days, and the pre-commit hooks that block a push when the code doesn't compile. Check out our other articles on: Ruby | Rails | Compatibility | Upgrades | Tech Bookmark, share, or save them for later. We hope these links are helpful. 😉 Best, The FastRuby.io Team
|