Skip to content

Commit

Permalink
Update the dummy app to use_yaml_unsafe_load in rails 6.0.5.1
Browse files Browse the repository at this point in the history
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:
ManageIQ/manageiq#21988
  • Loading branch information
jrafanie committed Jul 13, 2022
1 parent ed91fdb commit 6b7d6fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6b7d6fd

Please sign in to comment.