Change State belongs_to relationship foreign key to states_id.