Don't autosave unchanged has_one through records
Merge pull request #16875 from alan/dont_autosave_has_one_through_record

Don't autosave unchanged has_one through records

Conflicts:
	activerecord/CHANGELOG.md
Use has_attribute?