diff config/secrets.yml @ 13:bf9dbbec8c1e

Put back secrets.yml because rails hate booting up without secret_key_base.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:52:03 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config/secrets.yml	Fri Sep 05 18:52:03 2014 +0900
@@ -0,0 +1,22 @@
+# 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: herp
+
+test:
+  secret_key_base: a
+
+# Do not keep production secrets in the repository,
+# instead read values from the environment.
+production:
+  secret_key_base: derp