Permalink
Browse files

Add comment about secret_key_base in secrets.yml

  • Loading branch information...
1 parent bb7537b commit c1f4bc262884668217060d3a74ebafbf60bc44b3 @guilleiguaran guilleiguaran committed Dec 13, 2013
Showing with 12 additions and 0 deletions.
  1. +12 −0 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 %>

0 comments on commit c1f4bc2

Please sign in to comment.