These have not been touched in several years and now differs from what Rails provides. We should re-establish what our baseline is here compared to vanilla Rails. Some questions:
How many of our filter_parameters are valid in 2024?
How many of our filter_parameters are devise-related?
Do we want to append to the existing Rails configuration instead of performing a gsub?
What is the intent behind the ssn in the Rails vanilla config? (Social Security Number?)
Does Sentry look at this file to determine its own parameter filtering?
If no, should we align our Sentry and logging parameterization filtering?
We have these lines of code in our
backend_base
variant:https://github.com/ackama/rails-template/blob/89c633c72044c37ebc89bc4f675fbb1ad70a3d12/variants/backend-base/config/template.rb#L20-L22
These have not been touched in several years and now differs from what Rails provides. We should re-establish what our baseline is here compared to vanilla Rails. Some questions:
filter_parameters
are valid in 2024?filter_parameters
aredevise
-related?gsub
?ssn
in the Rails vanilla config? (Social Security Number?)