ActiveRecord INNER JOIN with Multiple Conditions (Without Lying to Yourself)
Rails INNER JOIN with multiple ON conditions — without moving predicates into WHERE by accident. .merge(), Arel, and SQL verification. Rails 7/8, 2026.
6 min read