提交 3bcc51a4 编写于 作者: R Rafael Mendonça França

Merge pull request #14568 from alex88/patch-1

Fixed upgrade guide typo
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册