Nevermind. I don't know what I was thinking using @request.users directly when I should have been using @request.request_user_roles instead.
This works fine: @request.request_user_roles.joins(:request_role_types).merge(RequestRoleType.is_initiator) Then I can get the User and the user's Role from the RequestUserRole objects returned. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fcc3c055-a4ed-4559-a35e-731d0dba6081%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.