Skip to main content

The blog

Rails ActiveRecord: what actually works

Real solutions to SQL → ActiveRecord translation problems. Learn why your queries break, how to fix them, and what Rails actually generates.

Latest

Newest first

Start Here

New to ActiveRecord? These posts explain the mental model differences that cause bugs.

JOIN Traps & Fixes

LEFT JOINs that become INNER JOINs, multiple conditions, and association gotchas

Performance & Query Shaping

N+1 queries, includes() side effects, and when ActiveRecord makes things slower

All Posts