annotate config/initializers/cookies_serializer.rb @ 86:5bfc986200db

The caching becomes a bit confusing because of parameters
author nanaya <me@myconan.net>
date Mon, 27 Jun 2016 05:14:10 +0900
parents 257910c60eb3
children d5a0d66ee457
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
3 # Specify a serializer for the signed and encrypted cookie jars.
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
4 # Valid options are :json, :marshal, and :hybrid.
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
5 Rails.application.config.action_dispatch.cookies_serializer = :marshal