Thomas Hanson
Thomas Hanson
@brocktimus - Here is the SQL for the joins in question: ``` sql SELECT `claims`.`id` AS t0_r0, `claims`.`company_id` AS t0_r1, ... `users`.`first_name` AS t1_r2, `users`.`last_name` AS t1_r3, `users`.`email` AS t1_r4,...
@brocktimus thanks for helping to nail this down. Relationships in the model: ``` ruby class Claim < ActiveRecord::Base ... belongs_to :negotiator, class_name: "User" belongs_to :primary_client_contact, class_name: "User" ... end ```...
@brocktimus I was afraid this would be the case. I'm testing out your sample with the active record relation nested in the where clause to see if that will fit...