fix has_many association to the correct syntax