Updated deprecation warning for validate_not_nil.