Since update_without_password still requires current_password to update the password, you will need to have update , like this:
def update # required for settings form to submit when password is left blank if params[:user][:password].blank? params[:user].delete("password") params[:user].delete("password_confirmation") end @user = User.find(current_user.id) if @user.update_attributes(params[:user]) set_flash_message :notice, :updated # Sign in the user bypassing validation in case his password changed sign_in @user, :bypass => true redirect_to after_update_path_for(@user) else render "edit" end end
This example is intended to update the current user (including the user password), but you can change it to suit your needs.
source share