From 60d3448cef861e280735b3cc14d8b12e9be99629 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 26 Oct 2023 22:44:02 +0100 Subject: [PATCH] Enable precompilation of filter_parameters --- config/initializers/new_framework_defaults_7_1.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_1.rb b/config/initializers/new_framework_defaults_7_1.rb index 846ac7bb0..955125fea 100644 --- a/config/initializers/new_framework_defaults_7_1.rb +++ b/config/initializers/new_framework_defaults_7_1.rb @@ -143,7 +143,7 @@ Rails.application.config.active_record.raise_on_assign_to_attr_readonly = true # Enable precompilation of `config.filter_parameters`. Precompilation can # improve filtering performance, depending on the quantity and types of filters. -# Rails.application.config.precompile_filter_parameters = true +Rails.application.config.precompile_filter_parameters = true # Enable before_committed! callbacks on all enrolled records in a transaction. # The previous behavior was to only run the callbacks on the first copy of a record -- 2.39.5