We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When submitting a form, submission silently fails. "can't mass-assign protected attributes for Model: attribute" error is not displayed.
The text was updated successfully, but these errors were encountered:
How can I reproduce this issue?
Sorry, something went wrong.
I'm having this Issue too, but in Rspec tests. The mass assigntment silently fails:
class Task < ActiveRecord::Base attr_protected :user validates :user, :presence end
Task.new(user: create(:user)).save! ==> ActiveRecord::RecordInvalid: Validation failed: User can't be blank
We will need a way to reproduce the issue. Until we have I'm closing it.
Thank you so much for reporting.
No branches or pull requests
When submitting a form, submission silently fails. "can't mass-assign protected attributes for Model: attribute" error is not displayed.
The text was updated successfully, but these errors were encountered: