We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc4441 commit 45e14afCopy full SHA for 45e14af
lib/validations.js
@@ -148,7 +148,7 @@ Validatable.validatesExclusionOf = getConfigurator('exclusion');
148
* Validate format. Require a model to include a property that matches the given format.
149
*
150
* Require a model to include a property that matches the given format. Example:
151
- * `User.validatesFormat('name', {with: /\w+/});`
+ * `User.validatesFormatOf('name', {with: /\w+/});`
152
153
* @param {String} propertyName Property name to validate.
154
* @options {Object} Options
0 commit comments