[openstreetmap-website] Update to rails 4 (#432)
Tom Hughes
notifications at github.com
Thu Aug 15 15:15:38 UTC 2013
> @@ -0,0 +1,12 @@
> +# 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 your secret_key_base is kept private
> +# if you're sharing your code publicly.
> +OpenStreetMap::Application.config.secret_key_base = '8be565e2e25831d88231f4bcfd83dfc3ab33957c4f33bb3cff7a279f7820ec4d0c1111f246bb347c68859c0b46b4e591be9179a53a5a7165a9936000d6d2be41'
We did, but the problem is that as part of the move from `secret_token` to `secret_key_base` in rails 4 it now spews a bazillion deprecation warnings if you don't have `secret_key_base` set and in some cases actually throws an exception in the tests.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/432/files#r5792609
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130815/032fb827/attachment.html>
More information about the rails-dev
mailing list