Permalink
Browse files

Fixed small documentation typo

Using `Rails.application.config.cookies_serializer :hybrid` throws an exception, fixed to `=`.
  • Loading branch information...
1 parent c82483a commit 8ae3f24eb7ff630c722fbee2d1b3182b3a85f3dd @alex88 alex88 committed Apr 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 8ae3f24

Please sign in to comment.