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

Add check for permitted mass assignment attributes #1128

Merged
merged 3 commits into from Dec 3, 2017

Conversation

Projects
None yet
1 participant
@presidentbeef
Owner

presidentbeef commented Dec 1, 2017

Similar to CheckModelAttributes. Even with strong parameters you can whitelist an attribute for mass assignment that you shouldn't.

@presidentbeef presidentbeef merged commit d717630 into master Dec 3, 2017

5 checks passed

ci/circleci Your tests passed on CircleCI!
Details
codeclimate Approved by Justin.
Details
codeclimate/diff-coverage 100% (80% threshold)
Details
codeclimate/total-coverage 94% (0.0% change)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@presidentbeef presidentbeef deleted the add_check_permit_attributes branch Dec 3, 2017

Repository owner locked and limited conversation to collaborators Feb 6, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.