Mercurial > zeropaste
comparison config/initializers/cookies_serializer.rb @ 440:f4612faedb9e
hybrid for migration
author | nanaya <me@myconan.net> |
---|---|
date | Sat, 02 Jul 2016 17:26:21 +0900 |
parents | d31fe32da7a0 |
children | 07d6c6639adf |
comparison
equal
deleted
inserted
replaced
439:e8f159807413 | 440:f4612faedb9e |
---|---|
1 # Be sure to restart your server when you modify this file. | 1 # Be sure to restart your server when you modify this file. |
2 | 2 |
3 # Specify a serializer for the signed and encrypted cookie jars. | 3 # Specify a serializer for the signed and encrypted cookie jars. |
4 # Valid options are :json, :marshal, and :hybrid. | 4 # Valid options are :json, :marshal, and :hybrid. |
5 Rails.application.config.action_dispatch.cookies_serializer = :json | 5 Rails.application.config.action_dispatch.cookies_serializer = :hybrid |