Skip to main content

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.

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