Enable precompilation of filter_parameters

This commit is contained in:
Tom Hughes 2023-10-26 22:44:02 +01:00
parent e331266687
commit 60d3448cef

View file

@ -143,7 +143,7 @@ Rails.application.config.active_record.raise_on_assign_to_attr_readonly = true
# Enable precompilation of `config.filter_parameters`. Precompilation can # Enable precompilation of `config.filter_parameters`. Precompilation can
# improve filtering performance, depending on the quantity and types of filters. # 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. # 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 # The previous behavior was to only run the callbacks on the first copy of a record