aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
diff options
context:
space:
mode:
authorAndy Lindeman <alindeman@gmail.com>2012-11-27 22:30:47 -0500
committerAndy Lindeman <alindeman@gmail.com>2012-11-27 22:30:50 -0500
commitfdb41cba87064cc91e84ef7e5c5c0ec32cf670c4 (patch)
tree68005de4ae832a48a2a5137842cfdf4c67d3fc9d /guides/source/upgrading_ruby_on_rails.md
parent1ce99553d0dc7c84a9cade9faec8993de0ac6d88 (diff)
downloadrails-fdb41cba87064cc91e84ef7e5c5c0ec32cf670c4.tar.gz
rails-fdb41cba87064cc91e84ef7e5c5c0ec32cf670c4.tar.bz2
rails-fdb41cba87064cc91e84ef7e5c5c0ec32cf670c4.zip
Clarifies the cookie store docs a bit and uses correct Markdown syntax for preformatted text
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.md')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index bf81776006..22cda7a8df 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -69,7 +69,7 @@ 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'+
+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 `config/initializers/session_store.rb`. Additionally, add `Myapp::Application.config.secret_key_base = 'some secret'` in config/initializers/secret_token.rb (use `rake secret` to generate a value). 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.