aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_model_basics.md
diff options
context:
space:
mode:
authorYauheni Dakuka <yauheni.dakuka@gmail.com>2017-10-06 09:02:56 +0300
committerYauheni Dakuka <yauheni.dakuka@gmail.com>2017-10-06 09:02:56 +0300
commitde2afdc457d63ee628b5cac4e7bb73812e016e38 (patch)
tree2e599f1216258bf12027a3ead67d11e031edb6c8 /guides/source/active_model_basics.md
parent883d83bf727b23d9c9d10a3366441468d1273b02 (diff)
downloadrails-de2afdc457d63ee628b5cac4e7bb73812e016e38.tar.gz
rails-de2afdc457d63ee628b5cac4e7bb73812e016e38.tar.bz2
rails-de2afdc457d63ee628b5cac4e7bb73812e016e38.zip
Cosmetic fixes [ci skip]
Diffstat (limited to 'guides/source/active_model_basics.md')
-rw-r--r--guides/source/active_model_basics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_model_basics.md b/guides/source/active_model_basics.md
index b8f076a27b..ee0472621b 100644
--- a/guides/source/active_model_basics.md
+++ b/guides/source/active_model_basics.md
@@ -464,7 +464,7 @@ a `password` accessor with certain validations on it.
#### Requirements
`ActiveModel::SecurePassword` depends on [`bcrypt`](https://github.com/codahale/bcrypt-ruby 'BCrypt'),
-so include this gem in your Gemfile to use `ActiveModel::SecurePassword` correctly.
+so include this gem in your `Gemfile` to use `ActiveModel::SecurePassword` correctly.
In order to make this work, the model must have an accessor named `password_digest`.
The `has_secure_password` will add the following validations on the `password` accessor: