# HG changeset patch # User edogawaconan # Date 1418280216 -32400 # Node ID 1fdb3fc5ec313931c09e4c8d02fb6cef0b34494c # Parent 6267a4188c050980ac202f8bdd5ca99c2c0f025b Move setting of secret_key_base to application.rb. One less file to take care about. diff -r 6267a4188c05 -r 1fdb3fc5ec31 config/application.rb --- a/config/application.rb Thu Dec 11 15:38:23 2014 +0900 +++ b/config/application.rb Thu Dec 11 15:43:36 2014 +0900 @@ -28,6 +28,9 @@ # config.i18n.default_locale = :de config.middleware.delete "ActionDispatch::Cookies" + # this isn't actually used but railties checks this variable during boot. + config.secret_key_base = "herp a derp" + if ENV["RT_MEMCACHED_SERVERS"] config.cache_store = :mem_cache_store, ENV["RT_MEMCACHED_SERVERS"].split(","), { :namespace => "rsstweet" } end diff -r 6267a4188c05 -r 1fdb3fc5ec31 config/secrets.yml --- a/config/secrets.yml Thu Dec 11 15:38:23 2014 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Your secret key is used for verifying the integrity of signed cookies. -# If you change this key, all old signed cookies will become invalid! - -# Make sure the secret is at least 30 characters and all random, -# no regular words or you'll be exposed to dictionary attacks. -# You can use `rake secret` to generate a secure secret key. - -# Make sure the secrets in this file are kept private -# if you're sharing your code publicly. - -development: - secret_key_base: herp - -test: - secret_key_base: a - -# Do not keep production secrets in the repository, -# instead read values from the environment. -production: - secret_key_base: derp