
We took a production Rails app to three weeks before a Railway cutover, then called it off. Here's what Metal, backups, logs, and rollback look like in production, and the questions to answer before you migrate.
Railway is cheap, fast to set up, and adding thousands of new users a day, so plenty of teams are sizing it up for production right now. Evil Martians got most of the way through one of those migrations before backing out, and along the way we learned what the platform asks…
“Slop” is low-quality output from an LLM. When slop is part of a user-facing product, it pulls down the quality of the product. The way to fix this is by consequences to product owner.
I don’t believe all LLM output is slop, though I understand that achieving high-quality output is largely the function of the LLM vendor’s models and not anything under my control. That being said, an LLM’s output as part of an overall product offering is under the control of people: product managers (primarily) and programmers (less so).
Terrible Features are Made by People
We’ve all experienced AI-powered product features that make the product worse. From macOS’s constant nagging you to “write with…
What makes a Ruby conference memorable—and what does it take to organize one? Adrian Marin joins David Hill to share lessons from creating Friendly.rb as David prepares to launch Ruby Magic in Orlando. They discuss finding sponsors, choosing a venue, balancing invited speakers with a CFP, and making room for the hallway conversations that turn fellow attendees into lasting friends.
Adrian also shares the story behind Avo, the Rails application-building toolkit he started after seeing how Laravel Nova accelerated his team’s work. He describes turning an almost-abandoned project into his full-time business and overcoming developers’ skepticism about admin tools by emphasizing…

In which Jessitron and Avdi talk about what happens when a coding agent reads your documentation from the perspective of a new-hire every fifteen minutes, and then builds exactly what you asked for. Also: making code quality mandatory with agent hooks; and who exactly peed in the pajamas?
Most of the businesses we talk to that pay for Gemini use it the way they use any chat assistant. Someone opens a window, asks a question, copies the answer somewhere else, and closes the window. The work starts and ends with a person typing.
On October 8, at its Gemini at Work event, Google announced the Gemini agent, which it calls “your new single, universal agent for work.” You give it an objective, it works out the steps, and it can keep going for hours or days inside Gmail, Drive, Docs, Sheets, Slides, Chat and Calendar. As of late October, it is in private preview, and Google has not given a date for the wider rollout.
What gets less attention is that a smaller version of this idea…
You run bundler-audit against your app, and the list is longer than you have time for, with a good share of it flagged HIGH or CRITICAL. There are too many to patch at once, and every one looks urgent. Sorting by severity doesn’t help when everything is already labeled critical, and a list where everything is top priority gives you no priority at all.
In this post, you’ll learn how to combine three public scoring signals, CVSS, the CISA KEV catalog, and EPSS, to narrow your application’s dependency advisories down to a list, and then how to check whether each flaw on that list is actually reachable in your codebase. Think of it as the systematic version of picking CVEs by hand, which is…
Continuations 2026/46: A long list
Doing everything I can to get to where I can publish a Hanami 3.1 release candidate.
This week that meant reviewing/tweaking and merging a slew of pull requests. Time is short and I’m trying to devote as much of it to release prep, so this week you’re going to get a long list.
Here we go: Instrument errors on action auto-render, Run extra CI rubies on ubuntu-24.04, Ignore global I18n.load_path in slice i18n backends, Allow subclassing integrated classes before the app is defined, Allow custom Dry Schema messages backends, Translate validation messages with the slice's i18n, Add Command#invoke for running one command from another, Run nested Hanami CLI commands via Dry CLI’s…
This is the biggest site news update in the history of Graceful.Dev.
Let’s start with new content:
New episodes
It’s been a long time since the last news update, and in the meantime we’ve released a ton of episodes about working with coding agents.
- Observing LLM Libraries with OpenTelemetry (EP 714)
- LLMs Are Completion Machines (EP 716)
- LLM Plus Continuity Equals Chat (EP 717)
- Chat Plus Tools Equals Agent (EP 718)
- System Prompt is the First Message (EP 719)
- Agent + Verification = Useful Agent (EP 720)
- Teach the Repo, Not the Agent (EP 721)
- Move Out of Chat (EP 722)
And one more in the Tooling, Operations, and Platforms garden path:
On November 10, I was in the audience at SFJAZZ when Irina Nazarova opened SF Ruby 2026. Irina is the CEO of Evil Martians, and for the last three years she has been interviewing founders who are building new companies on Ruby and Rails.
A month ago I wrote about DHH’s Rails World keynote, and I ended that post wanting to hear more about the future of Rails from the people building on it.
Irina’s keynote was that talk.
She opened with a video message from Garry Tan, President and CEO of Y Combinator, who couldn’t make it in person. He said one line that Irina kept coming back to for the rest of the hour:
Ruby’s best years might be ahead of us.
I left the room agreeing with him.…
The Case for AI Guardrails: How We Switched AI from Copy-Pasta to Building the Way We Want
If a Rule is Not Encoded, It’s Not Enforceable
From “Took A Snap”As we embraced AI agents creating code, we observed agents copying and pasting legacy patterns from our codebase into new pull requests. Our six-month, company-wide initiative on AI guardrails shows our approach to corralling these suboptimal patterns in our ever-expanding codebase.
Six months of building guardrails for coding agents in a large Rails monolith
A Quick Win
In April 2025, we deprecated an internal job-enqueueing class and documented how to move off of it. Within a month, usage was down to 239 call sites. By December, the count was largely unchanged at 226. We’d successfully stopped that pattern from growing.
Then…
ClickHouse in 10 seconds: 15 features worth knowing
ClickHouse has a lot of features that make your life easier, but most of them are buried somewhere deep in the docs. You usually find them after you’ve already built a workaround: a cron job, a calendar table, a window function nobody can read. I wanted to fix that, at least a little, so I made a short series called “ClickHouse in 10 seconds”. Each part shows one feature in a short animation you can grasp in about 10 seconds, plus a tiny example you can copy.
1. Column codecs
ClickHouse compresses every column with LZ4 by default, which is already good. But you can pick a codec per column, and for typed data like timestamps or sensor readings that makes a huge difference. On 100GB of…
What's New in RubyGems/Bundler 4.1
RubyGems and Bundler 4.1.0 are out. I covered the release in a three-part series on dev.to, and this post picks two changes from each part that you are most likely to use.
override and prune
override in the Gemfile rewrites version constraints that your dependencies declare, transitive ones included. When a gem caps required_ruby_version below the Ruby you just installed, override "foo", required_ruby_version: :ignore_upper gets you going without a fork. It can also drop or replace a dependency with with: and in:.
prune deletes Bundler’s download cache and the .git directories of git gems after install. bundle config set --local prune cache:git replaces the rm -rf line in your Dockerfile.
New episode: Move Out of Chat
A neat trick for communicating better with agents: move the conversation to a document and take turns changing it.
4.1.0 Released
RubyGems and Bundler 4.1.0 include features, performance, enhancements, breaking changes, bug fixes and deprecations.
To update to the latest RubyGems you can run:
gem update --system [--pre]
To update to the latest Bundler you can run:
gem install bundler [--pre]
bundle update --bundler=4.1.0
Release Notes
RubyGems
Changes already released in 4.0.x are not repeated here.
Features:
I organize a weekly figure-drawing session at Enoch’s Arts & Coffee in Manhattan. It runs every Monday at 6:30pm and costs $20. It’s regularly attended and we were even written up in W42ST. Like any small event, it comes with the usual collection of emails, date juggling, private contact details, and calendar invitations.
So, I decided to build a custom SaaS called Posebook to automate all that.

The Plan
The original idea was that models would register, choose a date, and get a reminder a week before posing. I chose Rails and MongoDB because I already use both, and started with one venue and one recurring program. The application now organizes venues, recurring programs, organizers,…
The job finished. Did the export?
Suppose a customer requests a CSV export. Two days later, they write to support: there is no download. Support searches the logs for the export’s job and finds its final attempt:
Stopped retrying BuildExportJob
(Job ID: ec0543aa-…)
due to a ExportUnavailable (export-44),
which reoccurred on 2 attempts.
Performed BuildExportJob
(Job ID: ec0543aa-…)
from SolidQueue(default) in 0.1msThese lines show the reproduced log sequence from the Active Job probe, with the job ID shortened and long lines wrapped for display.
The first line reports a failure. The second line reports the ordinary end of an attempt. Solid Queue marked that attempt’s job row finished,…
Frequently Played 🔗
I tend to listen to the same songs or albums on repeat that are evocative of how I’m feeling or what’s going on with me. Here is what I’m currently listening to over, and over, and over, and over, again.
Parasite 🔗
Still waiting for the vinyl release to be delivered.
Yes, now I need you
Yes, you are mine
Yes, you have shown me
Yes, you define
Larger Than Life 🔗
The new live album is well worth a spin.
Recently I was pairing with someone. They were currently driving, and asked for my opinion on a decision. I said something that was dangerous. Words that may have sounded abrupt. Words that could paralyze a pairing session. Words that could show an unfixable difference of opinion. The words I said were:
I don’t care.
Care To Explain 🔗
My pair and I were wrangling some logic in a controller. We decomposed what was a long public action into smaller private methods. We discovered we could bundle a few of these methods up into a domain concept. We thought of creating a class for these. We even had a name for it! Then my pair asked the 🔥burning🔥 question that prompted my uncaring response:
Where…
GHSA-r6vf-943r-2wvw (minitar): minitar path traversal vulnerability on Windows with a maliciously crafted tarball
CVE-2026-126818 (mongoid): Improper Encryption of Inherited Model Fields Leads to Information Disclosure
GHSA-86xc-wrr9-xmmq (puma): pumactl does not verify the TLS identity of SSL control servers
GHSA-jm4r-w4xx-qxw7 (puma): Graceful shutdown waits indefinitely on trickled request bodies
GHSA-m5xw-3hrw-qcmf (puma): Reactor timeout queue loses order, letting a slow client keep other connections open past their timeout
GHSA-r885-m39c-939g (puma): ssl_cipher_filter values containing `+` are decoded to a wider cipher list
GHSA-rf6g-xhmp-gm7v (puma): Accept loop retries without pausing when out of file descriptors, flooding the log
GHSA-x646-wp7c-h9mg (puma): Client that stops reading a TLS or file response holds a worker thread indefinitely
GHSA-xw3h-pgr9-3vg7 (puma): Reactor blocks on `100 Continue` writes to clients that stop reading, stalling other connections
GHSA-5wpc-45jc-6ccc (dalli): Unbounded or stalled memcached replies can exhaust Dalli client resources
GHSA-3v87-v27q-vf34 (alchemy_cms): Mass-assignment in ingredients_attributes enables STI type confusion and polymorphic-association tampering, leading to stored XSS and Author -> Admin privilege escalation
GHSA-cqh4-xxr9-qc73 (alchemy_cms): CSRF protection bypassed in admin controllers when current_user_method memoizes the user
GHSA-pfx8-f77c-5gp5 (alchemy_cms): CSS Injection via Unescaped Cookie in AlchemyCMS Admin Layout
GHSA-x84w-hjc5-6pqw (alchemy_cms): Stored XSS via unvalidated URL schemes in menu nodes and linkable ingredients
Added chart, slider, resize, and sounds components, and improved 13 existing components, including a color picker rebuilt without Shoelace and swipeable toasts.
Components in this release:
Direct link to podcast audio file
The biggest news of the week isn't Jensen Huang, or the Office365 outage, or the FAA grounding all air traffic.
Nope, it's the Apple HomeView. Bet you didn't see that coming.
As always, you can tell me I'm wrong by e-mailing to podcast@searls.co or via the feedback form. If you bother reading show notes but can't be bothered to write me an e-mail, you're no friend of mine.
I am filled with regret that I keep cramming so many links into each episode:
Marco Roth, independent consultant and the creator of Herb and ReActionView, joins Robby to talk about teaching Rails to understand its own templates.
Marco explains how Herb parses HTML and ERB together, why that lets it catch broken views long before they reach production, and how it is set to become part of Rails 8.2. They also get into how ReActionView makes Rails views reactive without rewriting them, the story behind RubyEvents.org, and why tooling like Herb matters even more when AI agents are writing your templates.
Listen to this episode (90m) or subscribe to On Rails in your podcast player.
How Solid Queue uses a semaphore
Hi, Wojtek here. Let’s explore this week’s changes with another big round of fixes in the Rails codebase.
Add a guide for using Hotwire with Rails
The guide can already be read on the Edge Guides.
Use an Array for storing Active Record attributes
Cast and freeze a model’s attribute defaults when its schema is loaded.
Deprecate unscope(where: :column) removing conditions on other tables
An unqualified column passed to unscope(where: ...) currently removes conditions on every table that has a column of that name, including joined and eager loaded tables. In Rails 9.0 it will only remove conditions on the relation’s own table.
Detect Kamal in app:update command
The update command didn’t…
When AI Agents Go Rogue
Security vulnerabilities, AI-powered coding, and a whole lot of pull requests take center stage this week on Remote Ruby! Chris, Andrew, and David kick things off with some alarming security exploits, including a critical Active Storage vulnerability and the growing risks of AI-driven attacks. They explore how Hot Cell could make Rails file uploads safer, share frustrations over security requirements for AI plugin submissions, and discuss practical ways to make AI-assisted development more manageable. Andrew reveals his new five-file rule for creating smaller, easier-to-review pull requests, while Chris considers how AI could fundamentally change software development and Rails releases.…
Steadfast Update I - The Baseline
I’m a big believer in what Rich Hickey calls Hammock-driven development, a bit of tongue-in-cheek term for solving problems by spending a lot of time thinking about them. Rich talks about the importance of taking the time to think a problem through, instead of rushing to the computer to type out code, and he’s right to note that a lot of the big problems with software are problems of misconception, which is really about thinking.
In my work and in my life I have seen time and again how a lack of thinking things through before acting can lead to bad results. The Hebrew saying “סוֹף מַעֲשֶׂה בְּמַחֲשָׁבָה תְּחִלָּה”, meaning “the end of a deed is in its initial thought”, is exactly about…
An AI agent runs the test suite and lints in its local checkout. Then, you open a pull request and GitHub Actions runs the same checks against the same commit. This is wasteful, so I built already-tested to submit agent claims with PRs and skip CI workflows. This is also called “shift left”.
Of course, anyone who can edit the pull-request description can forge a claim. It is not a cryptographic attestation, a test result signed by the machine, or evidence that the tests ran. Don’t ever disable CI on main.
Install
Setup takes two project changes: add the gate to the GitHub Actions workflow, then add this to AGENTS.md or .github/copilot-instructions.md:
## Local CI Claims
- Install `al…Releases as Code
A release needs to be reliable, which means it needs to be testable.
A typical release selects a version, updates a changelog, builds an artifact, creates a commit and a tag, publishes the package, creates a GitHub Release, and often prepares the next development version. Projects add their own steps, such as updating version references in documentation, and these steps need to agree on what was released.
If one breaks, the release fails halfway through, leaving a published package without a matching tag or a development version that wasn’t updated. You can’t always undo a published package and start over.
Test your release code.
Releases Are Software
I’ve spent plenty of time…
3D modelling is HARD, and news about the pre-sale (Ruby Stained Glass Notes #14)
You’ve heard it this year. Maybe you’ve said it yourself: “You don’t need frameworks anymore. Just let the agent write it. Why would you depend on somebody else’s gem?”
And it’s spreading. My friend Andrzej Krzywda goes to every Ruby conference and talks to everybody, and a few weeks ago he wrote that 40% of the devs he meets are trying to reinvent RubyLLM, my AI framework. One person’s impression, sure. But you can feel it in the air.
I think it’s bullshit, and I wanted to prove it, not just say it.
Same Agent, Same App, Four Times
So I took a coding agent, Codex on GPT-6 Astra, a really good one, and gave it the same app to build four times: with RubyLLM on Rails, with LangChain and…
#826 — November 12, 2026
Ruby Weekly
Metaprogramming on a Budget — A "peek behind the curtain of Rails' metaprogramming magic!" Active Record generates 21 methods for every column, which could eat a lot of memory, but a little define_method trick allows methods to share compiled instruction sequences…
Hartley McGuire (Rails at Scale)
💡 The follow-up Hartley mentions at the end has just been merged: Aaron Patterson's PR stores Active Record attributes in an array so reader methods can be shared by column position, with the reading of attributes getting up to 1.3x faster.
A dropdown looks like a problem solved by many already. But it is not too difficult to build your own and allows to make them exactly how you want them to be. It has to open next to its trigger, flip when there’s no room, stay inside the viewport, move focus into the panel, cycle through its items with the arrow keys, close on Escape and disappear when you click somewhere else.
Then there’s the part I find most useful: the same panel should also work as a right-click context menu, opening where the pointer is instead on a button.
That’s a handful of behaviors together. I keep them in one custom element, <ui-dropdown>.

The click version is a trigger plus a panel marked with data-dropdown-pa…
Hand coding a feature in a Ruby gem
- This year
- The idea
- How often do I quit?
- How early do I quit?
- Adding a test
- Making the CLI output prettier
- Showing the new stats on my website
- Why hand coding?
A full year since my last programming post, recharged by months of being offline LARPing as a normal person, I’m ready to make my grand re-entrance to the Internet.
Ready for it?
Today I’ll walk you through adding a small feature to a little Ruby gem I made a few years ago.
Audience: 【・_・?】
I’m pretty sure I’m the only person who uses my gem.
Audience: ( ̄(エ) ̄)ゞ
Oh, and we’ll do it entirely by hand. No AI!
Audience: (ง ˃ ᗜ ˂)و ̑̑ ヾ(。★ω★。)シ ٩(ˊᗜˋ*)و ♡ ₍₍⚞(˶˃ ᵕ ˂˶)⚟⁾⁾
(At least, that’s how I feel these days…

How Evil Martians moved Uscreen’s MCP server into its Rails app as a remote, multi-tenant service: Doorkeeper OAuth, tenant-scoped tools, and dry-run previews for destructive operations.
Uscreen, the leading all-in-one membership platform for video creators and entrepreneurs, came to Evil Martians with a working Model Context Protocol (MCP) server already tested by early adopters. To use it, a creator installed an NPM package that ran the server on their computer, entered an API key, and plugged it into the AI client of their choice. It worked, but it took a lot of setup. So, to…
How Can You Be Responsible for Code You Don't Understand, Especially When You Can No Longer Program?
If AI is writing all the code and no one is reviewing it, how the heck can anyone be responsible or accountable for code they not only don’t understand and eventually can never understand?
AI's primary purpose is to deskill its operators.The short answer is that programmers become responsible for outcomes, not code. The longer answer is there are no programmers - AI is a replacement, not an assistant, since it’s primary purpose is to deskill its operators.
Deskilling Before Our Very Eyes
This post on Reddit was going around social media and exemplifies what happens when a bunch of programmers stop programming.
This month management started quietly asking us to “write more…
📄 I'm just a meat proxy
I feel like AI-related blog posts should all begin with a disclosure as to how cooked the author is. On a scale of 1 to 10, I'm apparently now at "built a custom software factory and has fooled himself into thinking it actually works." So I guess that makes me an 8 or a 9? Not full-blown psychosis, I hope, but consider yourself duly warned.
My agents are currently shipping 20 to 40 issues a day across the dozen or so iOS apps I'm building. Today, I'm going to show you a bit of my app, MeatProxy, and how it governs my software development process. I'm not going to let you download it (you don't want it, trust me), but at the end of this post, your agent will find instructions for building…
An engineering manager I worked with before asked me how I can deliver good software for lower cost. Am I slow? Is it truly good? Am I losing money?
One should always keep such friends close. And it’s a fair question. The old rule in software is good, fast, cheap: pick two. But I provide all three. The short answer is that I changed how I work. The long answer follows.
I jumped in advance
For most of my career I had it all: a reliable full-time salary as a staff engineer, solving tricky engineering or team problems with people I like. Then AI agents appeared, and got better at writing code faster than anyone expected. And I wanted to build software differently. How long would jobs…
If you run a small business, there’s a good chance your website, your proposals, and the handouts you give clients were made at different times, by different people, in different tools. Each one looks fine on its own. Put them side by side, though, and they don’t quite look like they came from the same company.
I ran into this recently on a side project: setting up the brand and website for a new business that had little more than a few rough documents to its name. I used Claude Design, Anthropic’s design tool, and instead of starting with the website, I started with a design guide (also called a style guide or design book). That’s one document that records the business’s colors, fonts,…
What does it take to make an open source project welcoming to contributors—and manageable for its maintainers—in the age of AI? Rachael Wright-Munn joins David Hill to share what she’s learning through her work on Ruby Events, where supporting new contributors and reviewing AI-assisted pull requests raise many of the same questions about context, documentation, and code quality.
Rachael explains how Ruby Events uses YAML validation to catch problems and provide actionable feedback, along with an evolving Active Record–style interface built around Yerb. The conversation explores how clear rules, useful abstractions, and better development environments can help contributors produce…
Many of the Ruby on Rails apps we work on now have an AI layer of some kind. Sometimes it’s a single RubyLLM chat in a background job, sometimes it’s an MCP client wired into a support tool, and on most teams there’s a coding agent running in somebody’s editor. That layer gets the same security process as the rest of the app, which usually means bundler-audit in CI and a Ruby upgrade when somebody gets to it.
The last few weeks produced four separate problems in that layer. None of them has an advisory against a Ruby gem, so a dependency scanner stays green for all four. Two come from reading the source of ruby_llm-mcp, a community MCP client gem, one is a version constraint, and one is a…
RubyLLM 2.2 is out! I released it on stage at SF Ruby, and it’s the release I’m proudest of.
The code a model writes now runs in a sandbox on your own servers, and skills and file stores build on it. Tools can ask a person and wait for the answer. A chat survives a deploy. And there are context budgets, tests without a provider, and four new providers.
It’s also the first release I built for a new kind of user: the coding agent. More and more of the code that uses RubyLLM is written by Claude Code, Codex and Cursor, so I spent as much time making RubyLLM easy for them to use as I did on features. The talk was about that, and about the idea that you don’t need frameworks anymore. I wrote…
Limit to 20 minutes of audio for (hosted?) whisper-1 for transcription
We are using the proprietary hosted version of OpenAI whisper-1 to transcribe audio, with timestamps, into timestamped VTT.
The newer gpt-transcribe may reportedly do a better job of transcribing — but it doesn’t provide timestamps. One could probably try to use other tools to then sync the transcript, but we haven’t looked into that, not sure if it would get you anything useful, we’re trying to keep it simple.
The platform-hosted whisper-1 has a limit of 25 MB per audio file input, but no duration limit.
So when we started, when I was new to such things, I figured, great, we can downsample our oral history interview content to 16kbps mono Opus/ogg audio, and fit a lot in 25MB.…
How I Learned to Use Copilot Sessions 400 Million Tokens Later
I recently built a Markdown linter with GitHub Copilot CLI. In between, I reviewed other projects, edited this blog, and generally treated one conversation as a terminal into which I could dump whatever I was doing next. I really loved the fact that Copilot would context switch, do some work, then go back to what it was doing. It’s so smart!
Well, that may have burnt some extra tokens.
Counting Tokens
The local usage logs for the roughly three-and-a-half-day development window showed approximately 4,322 model calls, including delegated agents:
Token Type Millions Non-cached input 11.4 Output 2.4 Cache…Back in August, we tested Anthropic’s promise to watermark Claude’s output and found nothing there yet. Since then, Anthropic has published which models it marks and how, and it’s no longer alone: OpenAI has announced a text watermark of its own, Google has opened its detector to the public, and xAI has taken a different route entirely.
Since August, though, the questions we’ve heard most are about what comes after the watermark: who owns a logo that a model drew, whether code written with AI can be treated as proprietary, and whether a prompt counts as authorship. And behind those sits a newer one: if your AI-assisted marketing turns out to infringe someone’s work, does your insurance…
Continuations 2026/45: Non-stop
It’s been a week of non-stop work.
First, big thing: I merged diagnostics into Hanami Webconsole! With that done, I was able to do a review of the rest of the gem and push up a range of improvements, along with a related change in Hanami Reloader.
I also got to sight some of the design revisions that Max has been putting together for this. It’s going to feel truly us when it ships. Can’t wait.I shipped the new, styled output for Hanami CLI! It feels so much more polished now, and this is just the beginning. Also discovered that fast terminals are fast and pushed up a fix for a flickering spinner.
Katafrakt Korner: Paweł found and fixed a gap in our error handling around actions…
Passenger 6.2.2

Version 6.2.2 of the Passenger application server has been released. This release is mostly focused on bug-fixes and security hardening.
Other Improvements
- Harden against symlink attacks on improperly secured instance directories. This is a mitigation, and not intended to replace the use of proper filesystem permissions.
- Harden against secure headers containing header delimiters.
- [Enterprise] Fix the hard memory limit not being enforced on a process that already exceeded the soft memory limit and is still finishing its requests.
- [Standalone] Fix Passengerfile.json strings that contain \uXXXX escapes for non-ASCII characters being garbled or making Passenger crash.
Upgraded libraries
- Upgrade llhttp…
Metaprogramming on a Budget
If you generate an empty model class in a Rails application, the attribute methods are automatically available:
class Post < ActiveRecord::Base
end
p = Post.new
p.title = "Metaprogramming on a Budget"
p.title # => "Metaprogramming on a Budget"
It’s one of Rails’ oldest features, as seen in the old Build a Blog in 15 Minutes demo from 2005. But how does it work?
✨ Metaprogramming ✨
If you’ve never used it before, metaprogramming may sound really scary, but its not too bad in practice. All it really means is that we’re writing code that writes more code.
To get a better understanding, let’s try implementing a simple version of this Rails feature ourselves. The entrypoint will be a…
In the previous post, we saw how a large language model like Claude works. Your application can use Claude by sending HTTP requests to the Claude API, which Anthropic runs. The model can't query your database, call your APIs, or run any of your code. All it can do is read the text you send it and write text back. Yet you've used AI features that look up records, search the web, or edit your code in a local repo. They're all built on a feature of the Claude API called tool use. With tool use, Claude doesn't run your code. It asks your app to run it, and your app decides whether to run it or not.
In this post, we'll build that tool exchange to learn what goes back and forth between…
I’ve been using git worktrees a lot lately. Having a couple of branches checked out next to each other (often with an agent working away in one of them) is awesome. Until two of them start running migrations against the same development database and everything gets mixed up.
The obvious fix is to give every worktree its own database. But I like to develop against an anonymized copy of production, and copying gigabytes of data for every new worktree is slow and fills up my disk in no time.
Postgres 18 quietly shipped a new setting that fixes both: file_copy_method = clone. It’s been there since 18.0 (changelog), so if you’re still on an older version, that’s a good reason to upgrade.
What…
NWRUG's (Manchester, UK) November 2026 meeting — (Un)learning programming
The next North West Ruby User Group in Manchester, UK is in a fortnight on 19 November at Colony, One Silk Street. Sam Péchèr will reflect on starting out as a junior last year, just as the industry started to shift to not writing code.
We’ll be at the venue for pizza from 6:30pm with the talk starting at 7pm. Afterwards we’ll retire to The Crown & Kettle for a drink. The venue, pizza, and drinks are kindly provided by NWRUG’s sponsors Fatsoma and thoughtbot.
Register here if you would like to attend. Full details on this (and all NWRUG events) over on NWRUG’s website.
If you enjoyed this post, you might also like:
On the 4th of November the Rails security team shipped 8.0.5.2 and 8.1.4.1, and it is a big one: 21 security issues in a single release. One of them is rated critical, GHSA-f3w6-w445-fwh9, “Possible arbitrary file write and read in Active Storage image analysis”, with a CVSS score of 9.8.
Introducing Project Steadfast
Recently I wrote about an idea that’s been
floating around in my mind for a long time - the ability to do metaprogramming
in Ruby by manipulating Ruby ASTs, similar to the macro capabilities of
languages such as Lisp or Elixir. The use of eval (in its different
variations) is a common metaprogramming technique in Ruby that consists of
generating code at runtime from dynamically constructed strings. This is often
done for performance reasons: ERB compiles templates into optimized code by
generating pieces of Ruby source code then putting them together and calling
eval; In Rails, the same technique is used for implementing features such as
associations, or scaffolding. With eval, we can avoid…
Releasing Ruby gems manually typically involves incrementing a version in a file, creating a tag, pushing a gem to Rubygems and making a GitHub release. These tasks can be automated in many ways, including release-gem or GHA with rubygems/configure-rubygems-credentials and trusted publishing. Moreover, you can build upon these approaches when you need something beyond the plain rake release, such as updating a CHANGELOG.md, by rolling miles of brittle GitHub Actions YAML and shell script AI slop.
As an alternative to both the manual process and scripts, I’ve been asking AI to follow a hand-crafted RELEASING.md. AI can run tests, date CHANGELOG.md, ask me for a RubyGems OTP, make the…
My father is a poetry translator, so perhaps my obsession with prose runs in the family. This started before Markdown: I wrote rubocop-exception_messages after noticing inconsistent exception messages in Grape.
After I replaced this blog’s Python spell checker with a RuboCop plugin I still had a Node installation to check Markdown. Since it’s a Jekyll blog, and the build is Ruby, the spelling checker is Ruby, and my default set of code examples are also Ruby, why was formatting the README Node.js?
I first tried extending rubocop-md, proposing prose checks and parser diagnostics, a reusable Markdown parser, hidden cop-directive fixes, front-matter handling, and preserving prose alongside…
Hi, it’s Greg, bringing you the latest changes in the Rails codebase. It was a busy week, with a lot of changes, so buckle up!
Rails 8.0.5.2 and 8.1.4.1 have been released! These are security releases, addressing 21 security issues, so you should upgrade if you haven’t already.
Allow anonymous subclasses of cache stores with LocalCache
A recent change built the local cache’s registry key from the store’s class name in initialize, and that name is nil for an anonymous class, so Class.new(ActiveSupport::Cache::MemoryStore).new blew up with a NoMethodError. Anonymous stores are handy in tests to record what a request writes to the cache, and they work again.
Garrett and I recorded episode two of The Friday Deploy. We started with personalized interfaces and ended with a basketball app and me casually mentioning that I’d rewritten a chunk of Flare to run on Cloudflare. As one does.
But the thing I keep coming back to is the pull request that makes your stomach hurt.
I’ve made plenty of those lately. Ask AI to build something. Have another model review it. Fix the findings. Review it again. Find more things. Fix those. Pretty soon the little change you wanted is 3,000 lines and you don’t want to merge any of it.
For a while, my response was to keep going. Surely one more review would make me feel better.
Sometimes the better answer is to throw…
https://avdi.codes/192568-2/?utm_source=rss&utm_medium=rss&utm_campaign=192568-2
So who is going to buy Twitter now that he’s throwing his toys?
Vulnerabilites & AI with Nate Berkopec
Nate Berkopec returns to Remote Ruby joining Chris, Andrew, and David for a deep conversation about the latest wave of Ruby security vulnerabilities, AI-powered cybersecurity, and the rapidly changing role of software engineers. Nate shares his firsthand experience investigating a serious Ruby regex vulnerability, explains why developers need to take a more proactive approach to security, and challenges traditional development practices in an AI-driven world. From autonomous coding agents and dramatically faster development workflows to rethinking unit tests and code reviews, this episode explores why the future of programming may be less about writing code and more about building systems…
Code Got Cheap. The Rest Didn't. November 6, 2026 AI has fundamentally changed how we build software. But implementation is only one part of the job. Architecture, business knowledge, testing, and understanding real user workflows still require experienced developers. By Guido Boyke I've been developing software for more than 30 years, including about 20 years … Continue reading Code Got Cheap. The Rest Didn’t.
Lately, I've been trying to learn more about AI, particularly large language models (LLMs). My usual approach to learning a new subject is to read the classic books on the topic. However, since this version of generative and agentic AI is so new and evolving so rapidly, it's been difficult to find good, established books that covers it and explains it so a web developer like me could understand it.
So I decided to try something different by learning AI with AI. That is, I asked Claude to explain how LLMs work over a series of back-and-forth conversations over a few days to build my understanding of the topic. This post is my attempt to explain what I've learned about how LLMs…
I'm a web…
#825 — November 5, 2026
Ruby Weekly
🔒 Rails 8.0.5.2 and 8.1.4.1 Released to Fix 21 Security Issues — A rare 21-advisory release, led by a critical Active Storage bug (when using ImageMagick/mini_magick) where attaching a specially crafted image can let an uploader write (and sometimes read) arbitrary files. A Strong Parameters bypass, remote_ip spoofing in 8.1, and more make this a key update.
Mike Dalessio (Rails Core)
💡 Christine Seeman's walkthrough covers the advisories you may want to give a closer look, what can break on upgrade, and workarounds if you can't upgrade.
JRuby 10.0.8.0 Released
The JRuby community is pleased to announce the release of JRuby 10.0.8.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 10.0.x targets Ruby 3.4 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward! This cycle we had several new contributors and hundreds of pull requests. Keep it coming, JRubyists! @aminmansuri, @kares, @hiukkanen, @evaniainbrooks, @stefanlew-tractive, @sampokuokkanen, @zev, @matrei, @notsrch, @sferik, @RaphaelFakhri
Notable Changes
Security
- The asm bytecode library was updated to 9.11.1 to fix recent CVEs (none of which affect JRuby). #9858
Standard Library
- The standard library…
JRuby 10.1.3.0 Released
The JRuby community is pleased to announce the release of JRuby 10.1.3.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 10.1.x targets Ruby 4.0 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward! This cycle we had several new contributors and hundreds of pull requests. This list includes contributors to JRuby 10.0.8.0. Keep it coming, JRubyists! @samuel-williams-shopify, @aminmansuri, @kares, @hiukkanen, @evaniainbrooks, @stefanlew-tractive, @sampokuokkanen, @edipofederle, @samyron, @reginaldalfret, @albertalef, @taxor03, @zev, @matrei, @notsrch, @sferik, @RaphaelFakhri
Notable Changes
See also the JRub…
RubyMine 2026.3 is out!
This release brings JetBrains Air for working with your preferred coding agents, native access to WSL and Dev Container projects, and smarter Ruby and Rails support. You’ll also find easier interpreter setup, improved navigation and refactoring, and updates that make everyday development more comfortable.
Download RubyMine 2026.3 from our website or update via the Toolbox App.
Now, let’s explore the highlights.
JetBrains Air
A Look at Datastar
I have always been interested in frontend solutions for building web applications. Even though I’m more of a backend programmer, I really dig all the different techniques people come up with for creating browser-based apps that are both reactive (reflecting remote state in real-time) and interactive (responding to user actions).
Over the last few years, I’ve been looking at different frontend frameworks and libraries, to see how they work, and what I can learn from them. I adore Svelte, which is really smart and efficient. Its sister framework SvelteKit inspired the file-based routing in my own web framework for Ruby, Syntropy. I also really like the approach of the Phoenix framework…
From One to Five: How We Solved a Real-Time Trading System’s Scaling Crisis
Ask any LLM to style a layout and it uses CSS units like: px, rem, em, % and vh. So do you, out of habit. But CSS has grown its number of units. Ones that fit specific jobs way better than your old defaults. Here are seven your code generator has probably never suggested.
They are all baseline ready (e.g. supported by core browsers for at least 30 months), so there is no fallback excuse left. Let’s get into it.
Logical properties: think in axes (x and y)
A few of these units only make sense when you drop the ideas of “width” and “height” and think in axes instead. CSS now measures along the inline axis (the direction your text flows, left to right in, for example, English) and the block…
4.0.24 Released
RubyGems 4.0.24 includes enhancements, bug fixes and documentation and Bundler 4.0.24 includes enhancements and bug fixes.
To update to the latest RubyGems you can run:
gem update --system [--pre]
To update to the latest Bundler you can run:
gem install bundler [--pre]
bundle update --bundler=4.0.24
RubyGems Release Notes
Enhancements:
- Installs bundler 4.0.24 as a default gem.
Bug fixes:
- Skip executable removal gracefully when the bin directory is missing. Pull request #9963 by Evan Li and Hiroshi SHIBATA
- Fix file locks letting multiple processes in when lock files are removed. Pull request #9930 by Richard Janita and Hiroshi SHIBATA
- Turn off echo before printing the…
Documentation:
- [DOC] Fix link. Pull request #10014 by Burdette Lamar
Bundler Release Notes
Enhancements:
- Read the Ruby version from mise’s inline table form. Pull request #9991 by…

Buildkite runs CI/CD for some of the most demanding engineering teams in the world. Why a team of opinionated developers hired Evil Martians to build a framework-agnostic design system with AI skills that guide coding agents through every component.
Buildkite is a high-scale, hybrid CI/CD platform that lets engineering teams run fast automated build, test, and deployment pipelines.
Ruby AI News - November 4th, 2026
Welcome to the 40th edition of Ruby AI News! This edition features an avalanche of security issues, Ruby’s MCP SDK reaching Tier 1 status, a closer look at building AI evals for Rails, and much more.
Personal…
Newsletter Sponsorship Packages
New Sponsorship Opportunities
Ruby AI News has reached its 40th edition, and to mark it I am opening sponsorship packages that cover everything in the RoboRuby network. It is built for organizations that want in depth…


.jpg)