From 8af754e1087d662ab68964aa67685d48b8e7c4fc Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 10 Oct 2018 08:03:13 +0100 Subject: Run rails new testapp --skip-bundle --- testapp/config/initializers/cookies_serializer.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 testapp/config/initializers/cookies_serializer.rb (limited to 'testapp/config/initializers/cookies_serializer.rb') diff --git a/testapp/config/initializers/cookies_serializer.rb b/testapp/config/initializers/cookies_serializer.rb new file mode 100644 index 0000000..5a6a32d --- /dev/null +++ b/testapp/config/initializers/cookies_serializer.rb @@ -0,0 +1,5 @@ +# 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 -- cgit v1.2.3