diff options
author | Wojciech Wnętrzak <w.wnetrzak@gmail.com> | 2017-11-16 09:52:51 +0100 |
---|---|---|
committer | Wojciech Wnętrzak <w.wnetrzak@gmail.com> | 2017-11-16 09:52:51 +0100 |
commit | 23b9ad5fb103b0a50fbeede84279881d9dbc1687 (patch) | |
tree | d17c5ae1822bcf06db5799602753601c043a46e5 /railties/lib | |
parent | f27319a72a4ccfbffc575b752e4d91136f23725e (diff) | |
download | rails-23b9ad5fb103b0a50fbeede84279881d9dbc1687.tar.gz rails-23b9ad5fb103b0a50fbeede84279881d9dbc1687.tar.bz2 rails-23b9ad5fb103b0a50fbeede84279881d9dbc1687.zip |
Fixed example of `Rails.application.encrypted` method usage
[ci skip]
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 31bc542308..df266fbfce 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -442,7 +442,7 @@ module Rails # the file with the master key. # The master key is either stored in `config/master.key` or `ENV["RAILS_MASTER_KEY"]`. # - # Rails.application.encrypted("config/mystery_man.key").read + # Rails.application.encrypted("config/mystery_man.txt.enc").read # # => "We've met before, haven't we?" # # It's also possible to interpret encrypted YAML files with `config`. |