Skip to content
This repository
Browse code

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

…x for preformatted text
  • Loading branch information...
commit fdb41cba87064cc91e84ef7e5c5c0ec32cf670c4 1 parent 1ce9955
Andy Lindeman alindeman authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  guides/source/upgrading_ruby_on_rails.md
2  guides/source/upgrading_ruby_on_rails.md
Source Rendered
@@ -69,7 +69,7 @@ in the `config/initializers/wrap_parameters.rb` file:
69 69
70 70 ### Action Pack
71 71
72   -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'+
  72 +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'`.
73 73
74 74 Rails 4.0 removed the `ActionController::Base.asset_path` option. Use the assets pipeline feature.
75 75

0 comments on commit fdb41cb

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