Rails has built in log filtering so you don\'t log passwords and credit cards. Works great for that but when you want to trigger a custom log (like to email) and send your
If you are inside a rails controller method, why not just call request.filtered_parameters?
request.filtered_parameters
It is always a good choice to use what is already provided. Cheers!