RailsCasts Pro episodes are now free!

Learn more or hide this

Edgarublue's Profile

GitHub User: Edgarublue

Comments by

Avatar

For me, the following worked:

ruby
elsif @user.update_attributes(params.require(:user).permit(:password, :password_confirmation))

I get it from:
http://stackoverflow.com/questions/17568062/activemodelforbiddenattributeserror-in-passwordresetscontrollerupdate