Mercurial > zeropaste
annotate config/initializers/cookies_serializer.rb @ 485:6cac8fcf8164
Update to rails 7 (and ruby 3.1)
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 15 Jan 2022 02:07:02 +0900 |
parents | 07d6c6639adf |
children |
rev | line source |
---|---|
431 | 1 # Be sure to restart your server when you modify this file. |
2 | |
3 # Specify a serializer for the signed and encrypted cookie jars. | |
4 # Valid options are :json, :marshal, and :hybrid. | |
459
07d6c6639adf
Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents:
440
diff
changeset
|
5 Rails.application.config.action_dispatch.cookies_serializer = :json |