Skip to content
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

Changes to allow_mass_assignment_of to match Rails accessible/protected logic #30

Merged
merged 2 commits into from Sep 6, 2011

Conversation

sjmadsen
Copy link
Contributor

@sjmadsen sjmadsen commented Sep 6, 2011

The accessible list is a whitelist: marking anything as accessible
means everything not listed is protected. Similarly, the protected
list is a blacklist: attributes not listed here are accessible.

(I couldn't figure out how to exclude another, unrelated change I made to update remarkable's gem dependencies.)

The accessible list is a whitelist: marking anything as accessible
means everything not listed is protected. Similarly, the protected
list is a blacklist: attributes not listed here are accessible.
hosh added a commit that referenced this pull request Sep 6, 2011
[AR]allow_mass_assignment_of matcher should use Rails accessible/protected logic
@hosh hosh merged commit 1e65304 into remarkable-rb:master Sep 6, 2011
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.

None yet

2 participants