view config/initializers/cookies_serializer.rb @ 265:a8fd79a8d170 default tip

Update with better config example
author nanaya <me@nanaya.net>
date Sun, 09 Feb 2025 03:55:18 +0900
parents f67f3ad50270
children
line wrap: on
line source

# Be sure to restart your server when you modify this file.

# Specify a serializer for the signed and encrypted cookie jars.
# Valid options are :json, :marshal, and :hybrid.
Rails.application.config.action_dispatch.cookies_serializer = :json