From 9142a1412b85efd76a648a841043d8a48749810c Mon Sep 17 00:00:00 2001 From: Mo Seedat Date: Sun, 2 Oct 2022 23:30:38 +0100 Subject: [PATCH] Remove miniprofiler setting --- config/environments/development.rb | 2 -- config/environments/staging.rb | 2 -- config/environments/test.rb | 2 -- 3 files changed, 6 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 1cc7e8d2c..5e7201ec7 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -91,6 +91,4 @@ Rails.application.configure do # see 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 = [Time] - - Rack::MiniProfiler.config.storage = Rack::MiniProfiler::MemoryStore end diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 174745a8b..27b4a5c50 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -127,6 +127,4 @@ Rails.application.configure do # see 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 = [Time] - - Rack::MiniProfiler.config.storage = Rack::MiniProfiler::MemoryStore end diff --git a/config/environments/test.rb b/config/environments/test.rb index 3d9da86c1..382c08004 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -70,6 +70,4 @@ Rails.application.configure do # see 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 = [Time] - - Rack::MiniProfiler.config.storage = Rack::MiniProfiler::MemoryStore end