Skip to content

Instantly share code, notes, and snippets.

@edipofederle
Created July 22, 2015 18:18
Show Gist options
  • Save edipofederle/b5b152bbea58c379ae7a to your computer and use it in GitHub Desktop.
Save edipofederle/b5b152bbea58c379ae7a 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: cf2b81eb62f9bcdf1b8ba1c381bcb213b9ac269484608a3f6ab3164ed11d289d2c67efb7e9f977ccdeac018b509a6f5840a706db7c002b0e8911a771d4c99020
test:
secret_key_base: daebabaf71d34b2276385ca109a9a58529e4eec5ee3b82ca4cab1bfe87a325553a87a5a6d264732838290067ea16c01cbb6a86c5d8cd889acab70e328d26736f
# 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