diff options
author | Alessandro Tagliapietra <tagliapietra.alessandro@gmail.com> | 2014-04-02 16:02:13 +0200 |
---|---|---|
committer | Alessandro Tagliapietra <tagliapietra.alessandro@gmail.com> | 2014-04-02 16:02:13 +0200 |
commit | 8ae3f24eb7ff630c722fbee2d1b3182b3a85f3dd (patch) | |
tree | 424c6ac090c191d14212ad11214322caf502ad52 | |
parent | c82483a10abd30310f3360f6ebb6a4dddafdb2ba (diff) | |
download | rails-8ae3f24eb7ff630c722fbee2d1b3182b3a85f3dd.tar.gz rails-8ae3f24eb7ff630c722fbee2d1b3182b3a85f3dd.tar.bz2 rails-8ae3f24eb7ff630c722fbee2d1b3182b3a85f3dd.zip |
Fixed small documentation typo
Using `Rails.application.config.cookies_serializer :hybrid` throws an exception, fixed to `=`.
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 2 |
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 d58024df3d..0045206c76 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -105,7 +105,7 @@ the signed and encrypted cookie jars. If you want to use the new `JSON`-based fo in your application, you can add an initializer file with the following content: ```ruby - Rails.application.config.cookies_serializer :hybrid + Rails.application.config.cookies_serializer = :hybrid ``` This would transparently migrate your existing `Marshal`-serialized cookies into the |