annotate config/initializers/secret_token.rb @ 83:ae360c3b0bb0

Disable explain when using jruby because it's not supported. The patch for this support exist but for some reason still not included in latest release of the jdbc adapter. Reference: https://github.com/jruby/activerecord-jdbc-adapter/pull/206
author Edho Arief <edho@myconan.net>
date Mon, 15 Oct 2012 03:45:18 -0700
parents 4aa8194a1733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 # Your secret key for verifying the integrity of signed cookies.
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 # If you change this key, all old signed cookies will become invalid!
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 # Make sure the secret is at least 30 characters and all random,
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 # no regular words or you'll be exposed to dictionary attacks.
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 Zeropaste::Application.config.secret_token = '312c7dd024cee5ceec254af50bf0bf7ee3e976d3581b13e8525798219cb3ddabc0845732f3a667d4f786971b28a3b3ed9b050ef5660266be030af17758a188dd'