phatworx / devise_security_extension

An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
MIT License
748 stars 347 forks source link

Mass assignment error for RSPEC / FactoryGirl tests #89

Open ghost opened 10 years ago

ghost commented 10 years ago

I've recently installed the latest release of DSE and am now receiving mass-assignment errors in my test suite:

Failure/Error: let(:user) { FactoryGirl.create(:user) } ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes: encrypted_password, password_salt

lucasbiguet commented 10 years ago

@theuri I'm having the same issue, have you found a solution ? thanks

ghost commented 10 years ago

@lucasbiguet No - unfortunately this issue never went away. However, I haven't followed the gem closely or upgraded recently, so perhaps it's been fixed?