diff --git a/config/environments/test.rb b/config/environments/test.rb index 57e1ba296..82df9205e 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -16,7 +16,7 @@ # This resolves an issue loading symbols causing pysch disallowed class error # Check out https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017 - config.active_record.yaml_column_permitted_classes = [Symbol, Hash, HashWithIndifferentAccess] + config.active_record.yaml_column_permitted_classes += [Symbol, Hash, HashWithIndifferentAccess] # Configure static file server for tests with Cache-Control for performance. config.public_file_server.enabled = true