Skip to content

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Jun 17, 2015

TargetScrubber asts as reversal to PermitScrubber.
Two methods allowed_node? and scrub_attribute? is now
too much to know about implementaion of PermitScrubber.
It should simply reverse a result of parent method.

TargetScrubber asts as reversal to PermitScrubber.
Two methods `allowed_node?` and `scrub_attribute?` is now
too much to know about implementaion of PermitScrubber.
It should simply reverse a result of parent method.
@kaspth
Copy link
Contributor

kaspth commented Jun 17, 2015

That's cleaner thanks 😄

kaspth added a commit that referenced this pull request Jun 17, 2015
@kaspth kaspth merged commit 9cbceb1 into rails:master Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants