config/secrets.yml (6 lines of code) (raw):

# 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: b5a8c8ff611ed4444f0b98a95a2652fd6a3d050d73aba5c9bd7438605f1b21545d519e1fb998c1e5b0161afb71db43668c7c9619601986ebc45e453e80d74508 test: secret_key_base: 672365d6f02f3fa83e052d2da55915a851972f9b3981ccbf7d51a27f44613cc867eaf8a3ca6cf701c73fb20d93ac3440fb8a34e21367bd2696cd8a38da22d2a8 # Do not keep production secrets in the repository, # instead read values from the environment. production: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>