Browse Source

Fix another typo.

mark_story 14 years ago
parent
commit
a853c0f93a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Model/Model.php

+ 1 - 1
lib/Cake/Model/Model.php

@@ -191,7 +191,7 @@ class Model extends Object {
  *
  * ### Valid keys in validations
  *
- * - `role`: String with method name, regular expression (started by slash) or array with method and parameters
+ * - `rule`: String with method name, regular expression (started by slash) or array with method and parameters
  * - `message`: String with the message or array if have multiple parameters. See http://php.net/sprintf
  * - `last`: Boolean value to indicate if continue validating the others rules if the current fail [Default: true]
  * - `required`: Boolean value to indicate if the field must be present on save