Permalink
Browse files

Fixes docs to use numbers

  • Loading branch information...
1 parent b41bf80 commit ed242003a820900cfaa0519fedb7ad5570180a24 @MiguelMadero MiguelMadero committed Mar 18, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/4-models.md
View
@@ -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
```

0 comments on commit ed24200

Please sign in to comment.