fixed active record relationships miss configurations