chore(rails): we already use json as cookies_serializer

This commit is contained in:
Colin Darie 2023-04-24 13:36:25 +02:00
parent e8e785b953
commit b3099214b1
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -123,7 +123,7 @@ Rails.application.config.action_dispatch.default_headers = {
# have been converted to JSON. To keep using `:hybrid` long term, move this config to its own # have been converted to JSON. To keep using `:hybrid` long term, move this config to its own
# initializer or to `config/application.rb`. # initializer or to `config/application.rb`.
# #
Rails.application.config.action_dispatch.cookies_serializer = :hybrid # Rails.application.config.action_dispatch.cookies_serializer = :hybrid
# #
# #
# If your cookies can't yet be serialized to JSON, keep using `:marshal` for backward-compatibility. # If your cookies can't yet be serialized to JSON, keep using `:marshal` for backward-compatibility.