From 8ae3f24eb7ff630c722fbee2d1b3182b3a85f3dd Mon Sep 17 00:00:00 2001 From: Alessandro Tagliapietra Date: Wed, 2 Apr 2014 16:02:13 +0200 Subject: Fixed small documentation typo Using `Rails.application.config.cookies_serializer :hybrid` throws an exception, fixed to `=`. --- guides/source/upgrading_ruby_on_rails.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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 -- cgit v1.2.3