I know that with Rails 3.2 all attributes are 'black-listed' in essence, that forces you to whitelist each attribute via attr_accessible
.
However, if I make every column in my table attr_accessible
doesn't that leave me vulnerable to mass assignment attacks?
If not, why not?
If so, what's the point of forcing whitelisting?
This is a real question, because one of my production apps I am forced to have something like this, just to get Devise to work:
attr_accessible :email, :password, :password_confirmation, :remember_me, :name, :confirmed_at, :confirmation_token
Thoughts?