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…
Последние новости Testing & QA от 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…
Disclosure: I build Schemity , a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: A polymorphic association stores…
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…
This is part of casestudies for my Rails performance service. At a glance Problem The same users’ roles were queried repeatedly while each path eval…
If you want the Rails implementation version of this, Webhooks in Rails goes deeper on verification, durable receipt, idempotency, retries, jobs, te…
I run Knipsmig , a QR-code photo sharing service for weddings and parties. Guests scan a code and upload straight from the phone, no app. Most of th…
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…
I've been building RepBoard , a Rails app that gives freelancers a portable reputation profile — collect reviews from clients, share one professiona…
Between deprecation warnings, gem compatibility checks, and the inevitable late-night debugging session, the process can feel like a lot of effort f…
When a build breaks, the bug fixes itself We stopped babysitting CI failures. Now a red build files its own bug — and an AI agent picks it up and sh…
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…
Hello! It has been a couple of months since I announced my latest project, Testing Rails from Scratch: A practical, (mostly) out-of-the-box approach…
Wide Events is a Rails gem that puts the production context a coding agent needs onto one OpenTelemetry root span per request or job. In one product…
A few weeks ago I needed to check something in the Action Mailer docs, just a quick lookup. I ended up spending much more time there than expected a…
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, leveraging my logistics domain knowledge to become a…
When I published a little gem for conditional CSS classes two years ago, the first comment was Adrien Poly asking the obvious thing: "What is the ma…
You don't need a gem to build a facade. This is a perfectly good one: class App def self . config = Rails . configuration def self . redis = REDIS_P…
You want to add a new resource to your Rails app. You know the drill — rails generate , tweak the migration, add validations, write the controller a…
Pagination is a key component on web-applications that let users navigate through pages making easy to read/find records. Also, pagination is a grea…
"This page feels slow" is a vague bug report. Before changing any code, it helps to have a fixed way to locate where the time goes. A Rails request…
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…
Every blog post, product page, and profile in a Rails app deserves its own Open Graph image, the picture that shows up when someone shares the link…
Originally published on Hashnode: https://railswithyashika.hashnode.dev/rails-performance-n-plus-one-queries When working with associations in Rails…
Anyone who works with Ruby on Rails knows that, despite the framework being incredible for productivity, there are some classic workflow deficiencie…
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…
Turbo Frames are a great way to build interactive pages without writing custom JavaScript. But how do you test them properly? You can reach for syst…