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

README: "Models with undeclared attribute protection" #65

Closed
wants to merge 1 commit into from

Conversation

henrik
Copy link

@henrik henrik commented Feb 27, 2015

Looked in the README when I had this issue, so this would have helped me.

I realize this isn't a super elegant solution, but it makes Rails upgrades more seamless.

Looked in the README when I had this issue, so this would have helped me.

I realize this isn't a super elegant solution, but it makes Rails upgrades more seamless.
@rafaelfranca
Copy link
Member

We usually don't link to external pages. About the workaround is not better to set config.active_record.whitelist_attributes = false?

@henrik
Copy link
Author

henrik commented Apr 2, 2015

Hey, sorry for waiting so long to reply.

You're right – that seems to be exactly what I was after. Thanks!

@henrik henrik closed this Apr 2, 2015
@henrik henrik deleted the patch-1 branch April 2, 2015 14:59
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