From 7d3dbd8e396ddc30454d1bf156a00f21ed9adaf6 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Tue, 5 Jul 2016 17:54:06 +0900 Subject: [PATCH] "DEPRECATION WARNING: You didn't set `secret_key_base`." "Read the upgrade documentation to learn more about this new config option." --- spec/fake_app/rails_app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/fake_app/rails_app.rb b/spec/fake_app/rails_app.rb index 2180b0e..b54dde4 100644 --- a/spec/fake_app/rails_app.rb +++ b/spec/fake_app/rails_app.rb @@ -8,7 +8,7 @@ require 'fake_app/mongoid/config' if defined? Mongoid require 'fake_app/mongo_mapper/config' if defined? MongoMapper # config app = Class.new(Rails::Application) -app.config.secret_token = '3b7cd727ee24e8444053437c36cc66c4' +app.config.secret_key_base = app.config.secret_token = '3b7cd727ee24e8444053437c36cc66c4' app.config.session_store :cookie_store, :key => '_myapp_session' app.config.active_support.deprecation = :log app.config.eager_load = false