Skip to content

Commit

Permalink
Rails 7.1: precompile filter params
Browse files Browse the repository at this point in the history
A filtering optimisation, no behaviour change.
  • Loading branch information
rgarner committed Feb 6, 2025
1 parent 25c402a commit 3db6486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/new_framework_defaults_7_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
# 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.
Expand Down

0 comments on commit 3db6486

Please sign in to comment.