rails-secrets
rails-secrets copied to clipboard
Rails 4.1 config/secrets.yml for Rails 4.0
A secret is required to generate an integrity hash for cookie session data. Use config.secret_token = "some secret phrase of at least 30 characters"in config/initializers/secret_token.rb
Rails 3.2 uses to store the secret_key the config secret_token. So I extended the initializer. Can you merge it? Thanks in advance.
After implementing this gem and the required changes, I verified everything worked. I then added a custom gem to the Gemfile that happens to load one of the config/*.yml files....