Add docs about behaviour of replacing a has_one associate object.

Add docs about behaviour of replacing a has_one associate object that the previous one is deleted even if the new one doesn't get persisted to database.

 Fixes #13197 . [ci skip]