diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-11-16 11:37:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 11:37:41 +0100 |
commit | b22a4971fe7787d68e8b7548a50d5a0519d2e88b (patch) | |
tree | d17c5ae1822bcf06db5799602753601c043a46e5 /railties/lib | |
parent | f27319a72a4ccfbffc575b752e4d91136f23725e (diff) | |
parent | 23b9ad5fb103b0a50fbeede84279881d9dbc1687 (diff) | |
download | rails-b22a4971fe7787d68e8b7548a50d5a0519d2e88b.tar.gz rails-b22a4971fe7787d68e8b7548a50d5a0519d2e88b.tar.bz2 rails-b22a4971fe7787d68e8b7548a50d5a0519d2e88b.zip |
Merge pull request #31166 from freeletics/fix-example
Fixed example of `Rails.application.encrypted` method usage
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`. |