rails/actionpack/lib
Benjamin Fleischer db5f1a46f2 secret_token is now saved in Rails.application.secrets.secret_token
- `secrets.secret_token` is now used in all places `config.secret_token` was
  - `secrets.secret_token`, when not present in `config/secrets.yml`,
    now falls back to the value of `config.secret_token`
  - when `secrets.secret_token` is set, it over-writes
    `config.secret_token` so they are the same (for backwards-compatibility)
  - Update docs to reference app.secrets in all places
    - Remove references to `config.secret_token`, `config.secret_key_base`
- Warn that missing secret_key_base is deprecated
- Add tests for secret_token, key_generator, and message_verifier
  - the legacy key generator is used with the message verifier when
    secrets.secret_key_base is blank and secret_token is set
  - app.key_generator raises when neither secrets.secret_key_base nor
    secret_token are set
  - app.env_config    raises when neither secrets.secret_key_base nor
    secret_token are set
- Add changelog

Run focused tests via
ruby -w -Itest test/application/configuration_test.rb -n '/secret_|key_/'
2014-11-02 21:21:09 -06:00
..
abstract_controller give a better error message for misspelled helpers 2014-10-25 14:06:33 +02:00
action_controller Call gsub with a Regexp instead of a String for better performance 2014-11-01 20:23:29 -03:00
action_dispatch secret_token is now saved in Rails.application.secrets.secret_token 2014-11-02 21:21:09 -06:00
action_pack Prepare for 4.2.0.beta4 release 2014-10-30 14:12:24 -07:00
abstract_controller.rb No need for .rb extension 2013-08-25 11:39:09 +02:00
action_controller.rb Responder was removed at ee77770d57de9da87b05a2fe84b9d46ec6852c62 2014-09-30 17:21:48 +09:00
action_dispatch.rb ActionDispatch::Head was replaced by Rack::Head. Closes #14191. 2014-02-25 11:20:12 +01:00
action_pack.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30