parent
c4de830bfe
commit
0e2d2c162e
|
@ -52,7 +52,7 @@ Validatable.validatesPresenceOf = getConfigurator('presence');
|
|||
* For example, validate absence of reserved
|
||||
* ```
|
||||
* Post.validatesAbsenceOf('reserved', { unless: 'special' });
|
||||
*
|
||||
* ```
|
||||
* @param {String} propertyName One or more property names.
|
||||
* @options {Object} errMsg Optional custom error message. Default is "can't be set"
|
||||
* @property {String} message Error message to use instead of default.
|
||||
|
|
Loading…
Reference in New Issue