Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

remind user a good way to generate a secret code.

  • Loading branch information...
commit 0d809f6129b866d57b2b6bbe84ea5ea4770a2acd 1 parent d168c1f
@siong1987 siong1987 authored
3  railties/lib/rails/generators/rails/app/templates/config/initializers/
@@ -2,8 +2,11 @@
# Your secret key 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 generate a safe secret key with the command `rake secret`.
# Make sure your secret_token is kept private
# if you're sharing your code publicly.
<%= app_const %>.config.secret_token = '<%= app_secret %>'
Please sign in to comment.
Something went wrong with that request. Please try again.