Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Documentation bug #48

Open
melkorm opened this issue Jul 31, 2011 · 0 comments
Open

Documentation bug #48

melkorm opened this issue Jul 31, 2011 · 0 comments

Comments

@melkorm
Copy link

melkorm commented Jul 31, 2011

// We can define rules for fields, just like in normal CModel/CActiveRecord classes public function rules() { return array( array('login, email, personal_no', 'required'), array('personal_no', 'numeric', 'integerOnly' => true), array('email', 'email'), ); }

it should be numerical not numeric
http://canni.github.com/YiiMongoDbSuite/xhtml_single/index.html#toc:basic_simple-model

edit : added link to docs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant