From: Tom Hughes Date: Thu, 26 Oct 2023 21:44:02 +0000 (+0100) Subject: Enable precompilation of filter_parameters X-Git-Tag: live~1316 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/60d3448cef861e280735b3cc14d8b12e9be99629?hp=e3312666870c5a6b6a800362af94d3a75406d246 Enable precompilation of filter_parameters --- 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