From a3b33f3d6f267a677b2c44e3c8492a9f5176fc0c Mon Sep 17 00:00:00 2001 From: Jennifer Vendetti Date: Mon, 9 Dec 2024 16:54:13 -0800 Subject: [PATCH] Configure column permitted classes Resolves #370 --- config/application.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/application.rb b/config/application.rb index 8a1fe795a..e59dd58e2 100644 --- a/config/application.rb +++ b/config/application.rb @@ -10,6 +10,10 @@ module BioportalWebUi class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 7.0 + config.active_record.yaml_column_permitted_classes = [ + ActionController::Parameters, + HashWithIndifferentAccess + ] # permitted locales available for the application config.i18n.available_locales = [:en, :fr, :it, :de]