Share foreign_key_present? implementation in _has_ associations
Merge pull request #18242 from brainopia/has_one_loading_for_new_record

Load a has_one target for a new record if possible