aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-09-28 20:04:46 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2017-09-28 20:46:01 +0200
commitfbcc4bfe9a211e219da5d0bb01d894fcdaef0a0e (patch)
tree863d3e1cddc44d80180e7d8594fdad31e59cbe13 /guides/bug_report_templates
parent204c0407103ad924c4132636966421c74b49083d (diff)
downloadrails-fbcc4bfe9a211e219da5d0bb01d894fcdaef0a0e.tar.gz
rails-fbcc4bfe9a211e219da5d0bb01d894fcdaef0a0e.tar.bz2
rails-fbcc4bfe9a211e219da5d0bb01d894fcdaef0a0e.zip
Deprecate secret_token, long since usurped by secret_key_base.
See the changelog entry. Remove `secrets.secret_token` from the bug report templates, since we don't accept bug reports for Rails versions that don't support a `secret_key_base`. [ claudiob & Kasper Timm Hansen ]
Diffstat (limited to 'guides/bug_report_templates')
-rw-r--r--guides/bug_report_templates/action_controller_gem.rb1
-rw-r--r--guides/bug_report_templates/action_controller_master.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/guides/bug_report_templates/action_controller_gem.rb b/guides/bug_report_templates/action_controller_gem.rb
index 341724cdcd..557b1d7bef 100644
--- a/guides/bug_report_templates/action_controller_gem.rb
+++ b/guides/bug_report_templates/action_controller_gem.rb
@@ -22,7 +22,6 @@ require "action_controller/railtie"
class TestApp < Rails::Application
config.root = __dir__
config.session_store :cookie_store, key: "cookie_store_key"
- secrets.secret_token = "secret_token"
secrets.secret_key_base = "secret_key_base"
config.logger = Logger.new($stdout)
diff --git a/guides/bug_report_templates/action_controller_master.rb b/guides/bug_report_templates/action_controller_master.rb
index 558d9bf3e2..cf76de80d2 100644
--- a/guides/bug_report_templates/action_controller_master.rb
+++ b/guides/bug_report_templates/action_controller_master.rb
@@ -20,7 +20,6 @@ require "action_controller/railtie"
class TestApp < Rails::Application
config.root = __dir__
- secrets.secret_token = "secret_token"
secrets.secret_key_base = "secret_key_base"
config.logger = Logger.new($stdout)