Closer to the business, further from the Rails way
… and check why 5600+ Rails engineers read also this
Closer to the business, further from the Rails way
For more than 14 years, I built applications the Rails way: models, controllers, concerns, and service objects once things got complicated. Until the beginning of this year, I was still doing exactly that, maintaining several Rails applications for a MedTech product. Then it became clear to me that working well with AI wasn’t about new tools. I had to change the way I work.
Today my work looks very different. I work for a company operating at Frankfurt Airport, Europe’s busiest cargo airport, on the software behind its cargo operations, from transport management and dispatch to billing. One of the hats I wear there is Forward Deployed Engineer: I sit with the people who do the work, find out where it hurts, and turn the solution into software. Where things are simple, plain Rails CRUD is still the best tool. But where the real business complexity lives, the Rails way stops working, and this post is about why.
Hitting the wall, sooner
In my previous role, I was the one bringing AI into our development process. The codebases were typical of growing Rails apps: fat models with callback chains where nobody could tell the blast radius of user.save, business logic with no obvious home, hidden coupling, and validations that only made sense in one context but ran in all of them.
Sooner or later, many companies with apps like that hit a wall: the software can no longer change as fast as the business needs it to. Watching AI work in those codebases, I noticed something uncomfortable. AI doesn’t move that wall. It moves you towards it faster.
I’d felt this coming since the end of 2024. Writing the same kind of code faster wasn’t going to help. I needed to work differently, ideally without leaving Ruby behind. It took me months to realize the answer had been there all along.
We used to be prompted by project managers
At a recent meetup in Berlin, Andrzej put it in a way that stuck with me: developers used to be prompted by project managers.
It sounds provocative, but think about how most of us worked. A Jira ticket was the source of truth. A project manager stood between us and the business, translating needs into tasks. We got a prompt and produced code. There wasn’t a real alternative.
Then, around December 2025, a wave of strong model releases and falling prices changed that. Now we write the prompts and AI produces the code. And if nobody needs to prompt us anymore, the proxy disappears. We end up talking to the business directly. That’s what “moving engineers to a higher level of abstraction” means in practice.
The business doesn’t speak MVC
The first time you sit in a room with the people who run the operation, you notice something: nobody talks about models, controllers, or service objects.
They talk about what happened: the truck arrived late, the slot was gone, the booking changed. They talk about who is responsible: that’s the gate’s problem, not dispatch’s. And they talk about what happens next: when this happens, someone over there has to react.
The Rails way makes you translate every one of those sentences. Something that happened becomes a status column. Who is responsible gets lost, because everything lives in the same Shipment model. What happens next becomes a callback, or a service object called from three different places. Then, in the next meeting, you translate it all back so the business can check whether you understood them.
When you only met the business through tickets, that translation was hidden in the project manager’s head. When you’re the one in the room, you do it yourself, in both directions, every day. And with AI writing the code, typing is cheap. What’s expensive is a misunderstanding that gets built into the software.
Stop translating
The way out is to let the code speak the business’s language. What happened becomes an event. Who is responsible becomes a bounded context with clear borders. What happens next becomes a process that reacts to events and coordinates the work between departments.
None of this is new. It’s Domain-Driven Design and event sourcing, ideas that are more than twenty years old. What’s new is how much they’re worth now. When the words in the code are the words in the room, the business can correct your model directly instead of finding the mistake weeks later in production. And the same clear boundaries that make sense to a dispatcher also give AI a smaller, safer area to work in: a change to one department’s rules can’t quietly break another’s.
The answer was there all along
Looking back, moving to Domain-Driven Design and Event Sourcing was the second-best decision of my career. The first one was choosing Rails, more than 16 years ago. One didn’t replace the other: Rails gave me a way to build software quickly, and DDD gave me a way to keep it close to the business as it grows.
I see the same thing happening for our clients. When their software is built around what actually happens in their business, conversations get shorter, changes get safer, and AI speeds them up instead of rushing them towards the wall. If your own conversations with the business are starting to feel like a translation exercise, that’s a sign worth listening to.