rails-secrets
rails-secrets copied to clipboard
support rails 3 secret_token
/cc @pixeltrix
@nijikon I think there's actually two scenarios we need to address
- Rails 3.2.x
Copy across
app.secrets.secret_token - Rails 4.0.x
Copy across
app.secrets.secret_key_baseandapp.secrets.secret_tokenbut 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.