I know about filter_parameter_logging for query parameters, but this only works for query parameters. I do not want certain user personal data in the logs, but I need to keep a debug log. I hope for a better solution that promises the ActiveRecord patch and replaces the SQL string.
For reference, this is a Rails 2.3 project.
source
share