diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2017-04-19 17:57:21 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2017-04-19 17:57:21 +0000 |
commit | c324f5d8bbd717b308776bf47a5fed83ce691e66 (patch) | |
tree | 1fad9c066bc150b9e81d9ef8f7c135c5b008342d /guides/source | |
parent | bf8dd1235203b0e93c52e4fa7e569aea9b205d7a (diff) | |
parent | 6f71e508a1272170dc93a31c5fc677f7f802d9eb (diff) | |
download | rails-c324f5d8bbd717b308776bf47a5fed83ce691e66.tar.gz rails-c324f5d8bbd717b308776bf47a5fed83ce691e66.tar.bz2 rails-c324f5d8bbd717b308776bf47a5fed83ce691e66.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_model_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_model_basics.md b/guides/source/active_model_basics.md index e26805d22c..b8f076a27b 100644 --- a/guides/source/active_model_basics.md +++ b/guides/source/active_model_basics.md @@ -469,7 +469,7 @@ In order to make this work, the model must have an accessor named `password_dige The `has_secure_password` will add the following validations on the `password` accessor: 1. Password should be present. -2. Password should be equal to its confirmation (provided +password_confirmation+ is passed along). +2. Password should be equal to its confirmation (provided `password_confirmation` is passed along). 3. The maximum length of a password is 72 (required by `bcrypt` on which ActiveModel::SecurePassword depends) #### Examples |