[Solved] ActiveRecord joining nested associations on non default values
[ad_1] I found the answer. You need to define the foreign_key for the table so you can map it back. belongs_to :addresses, foreign_key: ‘state_abreviation’ 3 [ad_2] solved ActiveRecord joining nested associations on non default values