Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


No console log errors when attribute is not in attr_accessible list #16

ctilley83 opened this Issue · 3 comments

3 participants


When submitting a form, submission silently fails. "can't mass-assign protected attributes for Model: attribute" error is not displayed.


How can I reproduce this issue?


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 create(:user)).save!

       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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.