You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applications may try to modify `config.filter_parameters` after
`Rails::Application#env_config` has already been memoized. For example,
in the `development` environment, models with encrypted attributes will
append filters when the model is (re)loaded. Prior to this commit, if
`config.precompile_filter_parameters` was enabled, such changes would
not be reflected in `env_config["action_dispatch.parameter_filter"]`.
This commit ensures that `env_config["action_dispatch.parameter_filter"]`
is the `config.filter_parameters` array itself, regardless of whether
`config.precompile_filter_parameters` is enabled.
0 commit comments