display error when has_one association fails to be changed