annotate config/secrets.yml @ 25:70d70736faee

Properly rescue 403 and 404.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 23:38:57 +0900
parents bf9dbbec8c1e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # Your secret key is used for verifying the integrity of signed cookies.
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 # If you change this key, all old signed cookies will become invalid!
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
5
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 # Make sure the secret is at least 30 characters and all random,
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 # no regular words or you'll be exposed to dictionary attacks.
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 # You can use `rake secret` to generate a secure secret key.
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
9
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 # Make sure the secrets in this file are kept private
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 # if you're sharing your code publicly.
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
12
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 development:
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 secret_key_base: herp
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
15
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 test:
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 secret_key_base: a
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
18
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 # Do not keep production secrets in the repository,
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 # instead read values from the environment.
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
21 production:
bf9dbbec8c1e Put back secrets.yml because rails hate booting up without secret_key_base.
edogawaconan <me@myconan.net>
parents:
diff changeset
22 secret_key_base: derp