has_one through with new record

I need to set a has_one through association to an unsaved record. In
my code