rails-secrets icon indicating copy to clipboard operation
rails-secrets copied to clipboard

support rails 3 secret_token

Open nijikon opened this issue 10 years ago • 2 comments

nijikon avatar Aug 10 '15 12:08 nijikon

/cc @pixeltrix

nijikon avatar Aug 10 '15 13:08 nijikon

@nijikon I think there's actually two scenarios we need to address

  1. Rails 3.2.x Copy across app.secrets.secret_token
  2. Rails 4.0.x Copy across app.secrets.secret_key_base and app.secrets.secret_token but only if they are set

This is to cover the various possible settings when upgrading from Rails 3.2.x to Rails 4.0.x. Additionally, I think we need to add a integration test that sets a value in a session and then goes to another page and asserts the value from the session.

pixeltrix avatar Aug 10 '15 14:08 pixeltrix