diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-11-19 14:14:05 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-11-19 14:14:05 -0200 |
commit | ffaab2c4ffeed8f7363911d34ce1a4dfe69f322e (patch) | |
tree | e21c01f286b471afb35f986d3806850a34e35ce4 /guides | |
parent | 90ee4c5f2816c910cb7a390bc6df01ec63633a41 (diff) | |
download | rails-ffaab2c4ffeed8f7363911d34ce1a4dfe69f322e.tar.gz rails-ffaab2c4ffeed8f7363911d34ce1a4dfe69f322e.tar.bz2 rails-ffaab2c4ffeed8f7363911d34ce1a4dfe69f322e.zip |
Add UpgradeSignatureToEncryptionCookieStore to upgrading_ruby_on_rails guide
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 6fb10693ff..bf81776006 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -69,6 +69,8 @@ in the `config/initializers/wrap_parameters.rb` file: ### Action Pack +There is an upgrading cookie store UpgradeSignatureToEncryptionCookieStore which helps you upgrading apps that use +CookieStore+ to the new default +EncryptedCookieStore+. To use this CookieStore set Myapp::Application.config.session_store :upgrade_signature_to_encryption_cookie_store, key: '_myapp_session' in your config/initializers/session_store.rb. You will also need to add Myapp::Application.config.secret_key_base = 'some secret' in your config/initializers/secret_token.rb, but do not remove +Myapp::Application.config.secret_token = 'some secret'+ + Rails 4.0 removed the `ActionController::Base.asset_path` option. Use the assets pipeline feature. Rails 4.0 has deprecated `ActionController::Base.page_cache_extension` option. Use |