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]