From 9557558c8fefdbc10f95e65af4e2daf25be73cab Mon Sep 17 00:00:00 2001 From: Amir Jafarian Date: Mon, 8 Aug 2016 10:46:47 -0400 Subject: [PATCH] Update doc for `validatesFormatOf` --- lib/validations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/validations.js b/lib/validations.js index ebf5e5a3..ab3775d6 100644 --- a/lib/validations.js +++ b/lib/validations.js @@ -148,7 +148,7 @@ Validatable.validatesExclusionOf = getConfigurator('exclusion'); * Validate format. Require a model to include a property that matches the given format. * * Require a model to include a property that matches the given format. Example: - * `User.validatesFormat('name', {with: /\w+/});` + * `User.validatesFormatOf('name', {with: /\w+/});` * * @param {String} propertyName Property name to validate. * @options {Object} Options