Skip to content

Refactor TargetScrubber #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2015
Merged

Refactor TargetScrubber #40

merged 1 commit into from
Jun 17, 2015

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