annotate config/initializers/cookies_serializer.rb @ 433:b445318de858

Inheriting ApplicationRecord
author nanaya <me@myconan.net>
date Fri, 13 May 2016 03:59:50 +0900
parents 68eb23b52864
children d31fe32da7a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
431
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
3 # Specify a serializer for the signed and encrypted cookie jars.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
4 # Valid options are :json, :marshal, and :hybrid.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
5 Rails.application.config.action_dispatch.cookies_serializer = :marshal