Closed ionut998 closed 8 years ago
I added a note about how to handle changelog entries to this PR.
@mhenrixon - Can you take another look at this please? I've made a couple of amendments to the existing functionality:
filter_parameters
because it is more explicit about what we're doing with these fields (filtering them, and only "parameters") and matches with Rails, which is
the inspiration for this change.dup
the payload before mutating itversion
in the CHANGELOG because presumably that will get added when we actually bump the version (in case there are other things going in with a new version):+1: I'll cut a new gem in a bit
This PR replaces sensitive informations (like password, credit_card, etc) with
[FILTERED]
By default the sensitive fields arepassword
andpassword_confirmation
but more fields can be added using sensitive_fields configuration.This fixes https://github.com/reevoo/sapience-rb/issues/4