annotate config/secrets.yml @ 7:a9d5b12a291f

And no layout~
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:30:50 +0900
parents a1c9fadc0904
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # Your secret key is used for verifying the integrity of signed cookies.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 # If you change this key, all old signed cookies will become invalid!
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
5
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 # Make sure the secret is at least 30 characters and all random,
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 # no regular words or you'll be exposed to dictionary attacks.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 # You can use `rake secret` to generate a secure secret key.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
9
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 # Make sure the secrets in this file are kept private
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 # if you're sharing your code publicly.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
12
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 development:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 secret_key_base: 3658462a1a81955610c388002a788deed1b7f9343ae17273c5e2499dcb621d1e70b7a826f0c45a13274fa036714a68be898835cf4d9658d3d78620b480afaa82
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
15
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 test:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 secret_key_base: 00a4117ced897649681f7d87c9abb58515f54e6f1e5cd6dc729bfa19ac36ec1be61e102f57ff1f238f58acfb6b6917d9a7181691e9adcedbd19e6f20e4a66b69
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
18
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 # Do not keep production secrets in the repository,
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 # instead read values from the environment.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
21 production:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
22 secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>