Your next model upgrade won't close this gap
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. Codi…
Tech news from the best sources
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. Codi…
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 a…
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 act…
Every application we use today—from banking apps to social media platforms—has something working behind the scenes. That hidden engine is called the b…
You're staring at a Rails schema with 47 tables. The foreign key relationships are a bowl of spaghetti — timestamps everywhere, no documentation, and …
A few days ago I read a good writeup on how much HTTP/3 can shave off page loads — QUIC drops a round trip on connection setup and survives network ch…
Rails Performance: Lessons from Production — #6 By now the DB queries, caching, and background work are handled. But sometimes the SQL is genuinely fa…
A migration that runs in two milliseconds on your laptop can lock a production table for thirty seconds and pile up every request behind it. The gap i…
Rails Performance: Lessons from Production — #4 The first three posts were about making queries cheaper — fewer N+1s, indexes, not dragging data back …
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 my…
Rails Performance: Lessons from Production — #3 The first two posts were about making queries cheaper — fewer N+1s, indexes, not dragging data back in…
These four all deal with associations, and they're easy to mix up. The way I keep them straight is to ask two questions about each: what SQL does it r…
Pagination is a key component on web-applications that let users navigate through pages making easy to read/find records. Also, pagination is a great …
"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 pa…
&blk in a parameter list turns a block into a Proc; &proc at a call turns a Proc back into a block. 1. A block is syntax, not an object A bloc…
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 fro…
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 wo…
Every Rails app that takes Stripe webhooks has some version of this controller: def create payload = request . body . read sig_header = request . env …
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 Claude…
Ask Claude this, today, with no setup: "What did user 4421 do in our app yesterday?" You will get an answer. It will be confident, specific, and compl…
Hey folks 👋 Welcome back. In Part 3 we built all five auth endpoints, added Rack-Attack rate limiting, hardened the HTTP headers with secure_headers ,…
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 on…
Originally published on Hashnode: https://railswithyashika.hashnode.dev/rails-performance-n-plus-one-queries When working with associations in Rails, …
Rails GuardDog: Advanced Security Scanner for Rails Introduction Today I'm excited to announce Rails GuardDog v0.1.0 — an open-source security scanner…
(Originally published as this blog post: https://andymaleh.blogspot.com/2026/06/rubyconf-has-joined-railsconfrailsworld.html ) RubyConf has joined Rai…
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, Re…
Anyone who works with Ruby on Rails knows that, despite the framework being incredible for productivity, there are some classic workflow deficiencies …
When you cannot put Varnish in front of your application, the edge is no longer yours. You have to handle rate limiting from inside the app itself to …
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 user …