RailsCasts Pro episodes are now free!

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])