Skip to content

Commit

Permalink
Fixes docs to use numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelMadero committed Mar 18, 2013
1 parent b41bf80 commit ed24200
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/4-models.md
Expand Up @@ -122,14 +122,14 @@ Sets up a validation to make sure that the property meets certain length require

##### example
```
this.validatesLength('login', {min: '3'});
this.validatesLength('login', {min: 3});
// makes sure that the login property is at least 3 characters long
this.validatesLength('login', {max: '20'});
this.validatesLength('login', {max: 20});
// makes sure that the login property is not longer than 20 characters
this.validatesLength('login',3)
this.validatesLength('login', 3)
// makes sure that the login property is exactly 3 characters long
```

Expand Down

0 comments on commit ed24200

Please sign in to comment.