Skip to content
Browse files

Clarifies the cookie store docs a bit and uses correct Markdown synta…

…x for preformatted text
  • Loading branch information...
1 parent 1ce9955 commit fdb41cba87064cc91e84ef7e5c5c0ec32cf670c4 @alindeman alindeman committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/upgrading_ruby_on_rails.md
View
2 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.

0 comments on commit fdb41cb

Please sign in to comment.
Something went wrong with that request. Please try again.