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…
WebForms Core (WFC) is a web development technology owned and developed by Elanat . It provides a server-driven approach for building interactive we…
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…
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…
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…
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…
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…
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…
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…
I was importing a JSON file and it blew up. Not a subtle bug — the parser refused the whole thing. The cause was a single extra comma. After deletin…
Originally published on Hashnode: https://railswithyashika.hashnode.dev/rails-performance-n-plus-one-queries When working with associations in Rails…
I have a TRMNL on my desk. If you haven't seen one, it's a little e-ink display from trmnl.com that shows you whatever you tell it to: your calendar…
Anyone who works with Ruby on Rails knows that, despite the framework being incredible for productivity, there are some classic workflow deficiencie…
Ruby Reactor 0.4.0 introduces interrupts — the first native saga pause/resume mechanism in the Ruby ecosystem. You've built a checkout flow. The use…
In modern web applications, keeping the Request-Response cycle fast is crucial for user experience. If a user registers on your Rails 8 app and you…
The Rails maintenance policy is lean by design: only the most recent minor version of the most recent two major versions receives security patches .…
SOLID Principles in Ruby on Rails SOLID is not a Rails or Ruby concept. It's a set of five object-oriented design principles that apply to any langu…
I am developing a boilerplate called SuperRails. Super Rails | Rails Boilerplate for Solopreneurs A production-ready Rails boilerplate with Devise,…
Вечный спор в среде MVC-фреймворков - что лучше? Толстые модели и тонкие контроллеры или наоборот? Классический подход Rails — “Fat Model, Skinny Co…
Nearly every project I've worked on has, at some point, had to answer the question of inlining SVGs into HTML. I've been refining my approach to thi…
I always liked tracking my income and expenses. There was an app called Spendee that I used a lot. I liked it. But it felt too complicated for me, s…
Hey folks 👋 Welcome back. In Part 1 we walked through the 11 attack vectors that shape every decision in this series. If you skipped it, please go r…
I've been working on RapidForge a self hosted platform that turns scripts into webhooks, pages and scheduled jobs. RapidForge itself ships as a sing…