Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

shamgar's Profile

GitHub User: pak11273

Site: http://shamgarsolutions.com

Comments by shamgar

Avatar

Change:

elsif @user.update_attributes(params[:user])

to:

elsif @user.update_attributes(params.permit![:user])