This project is archived and is in readonly mode.

Changeset [6690d662920f0db854f7303cd2a5a36c72299199] by José Valim

April 5th, 2010 @ 11:00 AM

Rename config.cookie_secret to config.secret_token and pass it as configuration in request.env. This is another step forward removing global configuration.
http://github.com/rails/rails/commit/6690d662920f0db854f7303cd2a5a3...

Committed by José Valim

  • A railties/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt
  • R railties/lib/rails/generators/rails/app/templates/config/initializers/cookie_verification_secret.rb.tt
  • M Gemfile
  • M actionpack/lib/action_controller/base.rb
  • M actionpack/lib/action_controller/deprecated/base.rb
  • M actionpack/lib/action_controller/metal/cookies.rb
  • M actionpack/lib/action_controller/metal/http_authentication.rb
  • M actionpack/lib/action_controller/railtie.rb
  • M actionpack/lib/action_dispatch/middleware/cookies.rb
  • M actionpack/lib/action_dispatch/middleware/session/cookie_store.rb
  • M actionpack/lib/action_dispatch/testing/test_request.rb
  • M actionpack/test/abstract_unit.rb
  • M actionpack/test/controller/cookie_test.rb
  • M actionpack/test/controller/http_digest_authentication_test.rb
  • M railties/CHANGELOG
  • M railties/lib/rails/application.rb
  • M railties/lib/rails/application/configuration.rb
  • M railties/lib/rails/application/finisher.rb
  • M railties/lib/rails/configuration.rb
  • M railties/lib/rails/engine.rb
  • M railties/lib/rails/engine/configuration.rb
  • M railties/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
  • M railties/lib/rails/plugin.rb
  • M railties/test/application/configuration_test.rb
  • M railties/test/application/middleware_stack_defaults_test.rb
  • M railties/test/application/url_generation_test.rb
  • M railties/test/isolation/abstract_unit.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>