From d7a1a858f624faccc766deb21a9b143df8b6062e Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Wed, 28 Dec 2022 19:53:57 +0900 Subject: [PATCH] proposals.proposal_data may include serialized AC::Parameters as well because CFP App 1.0 used to store proposals.proposal_data as a serialized AC::Parameters. This follows up d70de792294b035b205ebadcc8ff0b5922711e75 and fixes `Psych::DisallowedClass: Tried to load unspecified class: ActionController::Parameters`. --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 1644832f5..d68906879 100644 --- a/config/application.rb +++ b/config/application.rb @@ -27,6 +27,6 @@ class Application < Rails::Application config.active_job.queue_adapter = :sidekiq config.active_record.yaml_column_permitted_classes = - [Symbol, Hash, Array, ActiveSupport::HashWithIndifferentAccess] + [Symbol, Hash, Array, ActiveSupport::HashWithIndifferentAccess, ActionController::Parameters] end end