From c1f4bc262884668217060d3a74ebafbf60bc44b3 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Fri, 13 Dec 2013 12:47:37 -0500 Subject: Add comment about secret_key_base in secrets.yml --- .../rails/generators/rails/app/templates/config/secrets.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'railties') 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 %> -- cgit v1.2.3