revert behaviour of ignoring undefined hasOneAssociation