metu.life/config/initializers/cookies_serializer.rb

6 lines
244 B

9 years ago
# 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.
9 years ago
Rails.application.config.action_dispatch.cookies_serializer = :json