Skip to content

Instantly share code, notes, and snippets.

@linki
Last active August 29, 2015 14:15
Show Gist options
  • Save linki/0a133c49f28dfc9c1b4b to your computer and use it in GitHub Desktop.
Save linki/0a133c49f28dfc9c1b4b to your computer and use it in GitHub Desktop.
# 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: 2eff5f97f1c8d8f4e3bfaad21039239ee271b176e4e0a6c2627281e7053b36c52eb4ffd94fc0896849caf5520f49092677c70ad004f838cd6ee23714fe91c58d
test:
secret_key_base: be2844510191b98aa1b6f9cecd3bd31dd594147612d753e95d83ad3d03f1c9e8323b9598ae2a353a86623665159f752facde04ab35debd89f6aa78f85d5eac88
# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment