Merge pull request #4692 from masatooba/fix-rake-to-rails

Change `rake secret` to `rails secret` in comments
This commit is contained in:
Rafael França
2017-11-02 22:58:56 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ module Devise
mattr_accessor :timeout_in
@@timeout_in = 30.minutes
# Used to hash the password. Please generate one with rake secret.
# Used to hash the password. Please generate one with rails secret.
mattr_accessor :pepper
@@pepper = nil

View File

@@ -10,7 +10,7 @@ module Devise
# DatabaseAuthenticatable adds the following options to devise_for:
#
# * +pepper+: a random string used to provide a more secure hash. Use
# `rake secret` to generate new keys.
# `rails secret` to generate new keys.
#
# * +stretches+: the cost given to bcrypt.
#