awesome-compose/ruby_on_rails-postgres/config/initializers/cookies_serializer.rb
Lukas Pol 4dafb28976 add sample project in ruby on rails with postgres
Signed-off-by: Lukas Pol <lukaspaespol@gmail.com>
2020-04-20 18:16:44 -03:00

6 lines
244 B
Ruby

# 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