changeset 215:1c1f761f2dcc

The parameter is still required in production so it turned out
author nanaya <me@nanaya.pro>
date Fri, 11 Dec 2020 03:52:35 +0900
parents 2335107f35d0
children 2a3c7db6007a
files config/application.rb
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config/application.rb	Fri Dec 11 03:47:39 2020 +0900
+++ b/config/application.rb	Fri Dec 11 03:52:35 2020 +0900
@@ -31,6 +31,9 @@
     # -- all .rb files in that directory are automatically loaded after loading
     # the framework and any gems in your application.
 
+    # this isn't actually used but railties *production* checks this variable during boot.
+    config.secret_key_base = "herp a derp"
+
     config.middleware.delete ActionDispatch::HostAuthorization
     config.middleware.delete ActionDispatch::Cookies
     config.session_store :disabled