aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-13 12:47:37 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-13 12:47:37 -0500
commitc1f4bc262884668217060d3a74ebafbf60bc44b3 (patch)
treeea1f69de4df81edf78db39cd9a89d9f6f2b5552b /railties
parentbb7537bc872e0a724fa97468e5899de0c70c1fc1 (diff)
downloadrails-c1f4bc262884668217060d3a74ebafbf60bc44b3.tar.gz
rails-c1f4bc262884668217060d3a74ebafbf60bc44b3.tar.bz2
rails-c1f4bc262884668217060d3a74ebafbf60bc44b3.zip
Add comment about secret_key_base in secrets.yml
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/secrets.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/secrets.yml b/railties/lib/rails/generators/rails/app/templates/config/secrets.yml
index 3ce5de1dc9..50c1d1d8c7 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/secrets.yml
+++ b/railties/lib/rails/generators/rails/app/templates/config/secrets.yml
@@ -1,3 +1,15 @@
+# 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: <%= app_secret %>