support to forein_key choice on has_many