I am reading the book of Agile web development with rails 4

in the user model I have a password validation that cannot be less than 6 character

```
validates :password_digest, length: {minimum: 6}

```

But actually when I create a new user, it allow me to do it with less than 6. Any suggestions?

Thanks