Closed diguliu closed 8 years ago
Thanks for the great idea! I would like to make it easy for people that use grape mounted inside rails to leverage the Rails.application.config.filter_parameters
. What do you think about extracting filtering code to separate method so it can be easily overwritten or sth similar?
I think it's a good idea. It was my first solution, but than I tried to solve the problem without too many changes.
Sure! Do you feel like modifying your pull request? In case not I would implement it myself soonish :)
I'll try to asaic!
@aserafin There! See if that's what you had in mind.
@aserafin would be nice to merge it.
Could this please be merged?
@aceunreal I'm looking at the other pull request by @987poiuytrewq which has this change included. I hope I will be done with it by the end of the week
Just to mention: https://github.com/aserafin/grape_logging/pull/9
+1 Needed....
@diguliu thanks for contributing - feature got included in separate pr (#16)
Cool @aserafin! ;)
This code allows the declaration of special fields (such as passwords) to be obfuscatd from the logging. Here is an usage example: