How I Hunted Down 23 N+1 Queries in a Rails App With Claude Code
TL;DR Our Rails app's p95 response time had crept from 280 ms to 1.4 s over a year, and nobody could say why. I paired with Claude Code for four day…
Latest Architecture news from Tech News
TL;DR Our Rails app's p95 response time had crept from 280 ms to 1.4 s over a year, and nobody could say why. I paired with Claude Code for four day…
TL;DR: If you've spent years with Sidekiq, Kafka can look like "Sidekiq with extra steps". It isn't. Sidekiq moves jobs (commands to do something).…
Refactoring a mature Rails app often starts with a simple question: If I change this method, what else could break? In a smaller codebase, grep migh…
If you want the Rails implementation version of this, Webhooks in Rails goes deeper on verification, durable receipt, idempotency, retries, jobs, te…
A while back I wrote about organizing configuration in Rails . The idea was simple: drop YAML files into config/configurations/ and get namespaced c…
After shipping two browser extensions this year — Reverse Image Search Anywhere and Stackpeek — I still could not answer the simplest question about…
Building in public often means talking about shiny new features, but in mature production applications, the most critical engineering work is usuall…
Note: Rails Baseline is the production-ready Rails foundation I tested here. It gives a new SaaS application and the coding agents working in it cle…
When I started studying APIs more seriously, I realized there was a problem with the way I was learning. I knew how to create a Rails API. I knew ho…
Between deprecation warnings, gem compatibility checks, and the inevitable late-night debugging session, the process can feel like a lot of effort f…
Hey DEV community! 👋 I've been working on a Blog Application built with Ruby on Rails to practice backend architecture, clean code standards, and Ra…
If you've worked in a mid-to-large Rails codebase in VS Code, you've probably run into this: you want to jump to a method, you hit Ctrl/Cmd+T, you t…
Hotwire and Turbo Streams have become the default answer for real-time applications in the Rails ecosystem. They are great for HTML-over-the-wire se…
Four ways to orchestrate business logic in Ruby. One map to find yours. You're building something that involves multiple steps. Charge a card, send…
1. Introduction Hello from Japan! 🇯🇵 I am an active truck driver in Japan self-studying Python and Web technologies, leveraging my logistics domain…
Rails 8 made Solid Queue the default Active Job backend, and it's excellent: database-backed, no Redis, and Mission Control Jobs gives you a dashboa…
There's a comfortable thing people say when they see an AI agent query a code map. "Nice crutch. For now." The logic underneath it is reasonable. Co…
Applications often need to react when something changes. When a user signs up, you might want to: Send a welcome email Create a user profile Log the…
Every application we use today—from banking apps to social media platforms—has something working behind the scenes. That hidden engine is called the…
You're staring at a Rails schema with 47 tables. The foreign key relationships are a bowl of spaghetti — timestamps everywhere, no documentation, an…
Rails Performance: Lessons from Production — #4 The first three posts were about making queries cheaper — fewer N+1s, indexes, not dragging data bac…
I've started moving all of my content over to baweaver.com powered by Bridgetown under github.com/baweaver/portfolio. Why? I wanted more control of…
Imagine a user trying to upload a 100MB video or a high-resolution photo to your app. If you use the standard Rails file upload, that file travels f…
Founders coding with AI tend to land in the same place. The first version is a $200/month no-code stack: a page builder, a chatbot, an auth gate, a…
Every Rails app that takes Stripe webhooks has some version of this controller: def create payload = request . body . read sig_header = request . en…
If you've ever investigated a slow Rails endpoint, chances are you've encountered one of the most common performance problems in the Rails ecosystem…
A few months ago I wrote about building a production MCP server in Rails , the plumbing of exposing RobinReach's API as a set of MCP tools that Clau…
Originally published on Hashnode: https://railswithyashika.hashnode.dev/rails-performance-n-plus-one-queries When working with associations in Rails…
My Previous Deployment Choices Since I mostly do web development using Ruby on Rails, these were my go-to options for deployment: PaaS like Heroku,…
Anyone who works with Ruby on Rails knows that, despite the framework being incredible for productivity, there are some classic workflow deficiencie…