Use correct foreign key of belongs_to associations