Commit: b5268d957f4cea8179807bc4da1ad7265b31264d

Author: gwoo | Date: 2009-12-09 08:48:21 -0800
fixing validation rule
diff --git a/models/Paste.php b/models/Paste.php index d97f09d..f15e463 100644 --- a/models/Paste.php +++ b/models/Paste.php @@ -52,7 +52,7 @@ class Paste extends \lithium\data\Model { */ public $validates = array( 'content' => 'You seem to be missing the content.', - 'author' => array('isAlphaNumeric', 'message' => 'You forgot your alphanumeric name?'), + 'author' => array('alphaNumeric', 'message' => 'You forgot your alphanumeric name?'), 'language' => array('validLanguage', 'message' => 'Invalid language.') );