From 6b7d6fd2e129e4592c6d2545721a16c995f1fcd5 Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Wed, 13 Jul 2022 15:08:46 -0400 Subject: [PATCH] Update the dummy app to use_yaml_unsafe_load in rails 6.0.5.1 Rails 6.0.5.1 changed the default behavior to use yaml safe load in 6.0.5.1 so we need to tell it use the old behavior in the dummy app. Related to the core change in: https://github.com/ManageIQ/manageiq/pull/21988 --- spec/dummy/config/application.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb index 4255e773e..fe2653298 100644 --- a/spec/dummy/config/application.rb +++ b/spec/dummy/config/application.rb @@ -19,5 +19,7 @@ class Application < Rails::Application # HACK: Temporary override of the default setting until we can update the # migration specs to honor it. config.active_record.belongs_to_required_by_default = false + + config.active_record.use_yaml_unsafe_load = true end end