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 Testing & QA 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…
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…
If you have built applications with ruby.wasm , you might have encountered a frustrating developer experience when writing unit tests. Testing Ruby…
A while back I wrote about organizing configuration in Rails . The idea was simple: drop YAML files into config/configurations/ and get namespaced c…
Ruby has one of the most established developer communities in software, but the knowledge, tools and people that make up that ecosystem are often sp…
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 an agent writes the code, you stop reading every line. You can pretend otherwise for a while, but on any real codebase you end up skimming a 60…
I've been building RepBoard , a Rails app that gives freelancers a portable reputation profile — collect reviews from clients, share one professiona…
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…
TL;DR What: POST /api/v1/customer_account_transaction in Open Food Network authorized against the class , not the record. It took customer_id straig…
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…
Kubernetes has an OpenSSF Best Practices badge . It earned that badge on 16 August 2017 at 14:52:28 UTC, and nobody has touched the entry since. The…
Introduction Ruby has four types of logical operators: && / || / and / or , each with a different precedence. && / || have higher pr…
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…
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…
Order matching has dropped in Shitcoin Swap in ~100 lines of Ruby . Most crypto exchanges reach for an existing matching engine or a Uniswap-style A…
Easy way that compress files in ruby is using zip lib. Zip :: File . open ( './compress.zip' , create: true ) do | zip | zip . get_output_stream ( "…
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…
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…
Overview Discourse turned out to be a good pressure repo for a narrow but important reason: the difference between bundle existing and the repo's re…