#172 🚨 What bundler-audit misses in your AI stack

Happy Wednesday!

Here is issue #172 of our newsletter, bringing you news and the best tools for your current or future Rails projects…

1. 🚨 Four AI stack risks that bundler-audit won't flag. Amanda shows why a green bundler-audit stays silent on these four: regexps compiled from MCP server schemas, a bearer token written to debug logs, RubyLLM version pins, and a backdoored build of the Claude Code extension on Cursor's marketplace. Read on for the Ruby versions with the regexp fixes, the grep and log searches to run on your app, and the indicators to check on developer machines.

2. 🐘 A database per git worktree, without filling your disk? Dennis Paagman shows how Postgres 18's file_copy_method = clone lets CREATE DATABASE clone a template on a copy-on-write filesystem like APFS, Btrfs, XFS or ZFS, so each worktree gets a copy of an anonymized production database that only takes extra space as it diverges. Read it for the ALTER SYSTEM setup, the STRATEGY = FILE_COPY catch, and why you need a separate template database that nothing connects to.

3. 🤖 Do you still need a framework when an agent can write the code? Carmine Paolino had Codex build the same app with RubyLLM, LangChain, the Vercel AI SDK and no framework, and counts 246 lines of owned code with RubyLLM against 1,070 with none. He tuned RubyLLM against that benchmark, and the bill came out about the same. Read it for the 93 lines the agent wrote to sign Bedrock requests and decode Amazon's event stream by hand versus four lines of RubyLLM configuration, the 21 fixes he made to RubyLLM, and the 2.2 tools that pause to ask a person.


Upcoming Events & Learning

🧬 Everyone’s talking about AI that writes your code. What about AI that lives inside it? At the Philly.rb meetup on Thursday, November 19 (5:30-8:00 PM, Indy Hall), Michael Carroll of Coolhand Labs presents Squishling, a Ruby gem that gives your classes an LLM power-up. Expect real production use cases: integrations with zero new code, tech debt priced in dollars, and errors that fix themselves before anyone notices.

⛰️ Got a Ruby talk in you? Blue Ridge Ruby is looking for 30-minute, in-person talks for its fourth conference, April 29 and 30, 2027, in downtown Asheville, NC. Topics can be technical or non-technical, beginner to advanced, as long as they’re aimed at Rubyists. Speakers get free admission and a $500 USD honorarium. The CFP closes Friday, January 29 at 11:59 PM UTC.


4. 🤖 Can Claude query your Rails database? Not directly, it can only ask your app to. Akshay Khot walks through how Claude's tool use works in a Rails app, in plain Ruby. Read it for the tool_result round trip, the short agent loop, and why you don't need MCP for AI features inside your own Rails app.

5. 🥩 What if your coding agents only bothered you when they truly needed a human? Justin Searls says his agents ship 20 to 40 issues a day across a dozen or so iOS apps, and he shows how his MeatProxy inbox, fed by an in-app "Darn it!" bug button, surfaces the 6 to 10 issues a day where an agent got stuck on something only he can answer. Read on for how each report captures the last minute of screen activity and narration, and the spec you can hand to your own agent.

6. 🎧 Does your AI-assisted PR make your stomach hurt? John Nunemaker recaps episode two of the podcast The Friday Deploy, on bounding AI review loops, and moving Fireside's file storage to Cloudflare R2 behind separate read and write flags. Read it for why quiet support isn't proof a rollout works, what he asked the agent to watch besides errors, and which flag you can roll back safely, and when you can't.


Check out our other articles on: Ruby | Rails | Compatibility | Upgrades | Tech
Debt
| AI

Bookmark, share, or save them for later. We hope these links are helpful. 😉

Best,

The FastRuby.io Team

Do you know anyone who would love to receive this newsletter? Tell them to subscribe👇 and catch the latest issue right in their inbox.

Don't wait to bring your Rails application up to date.

We will get on a quick call and recommend a couple of options to start upgrading your Rails app.