title: Rails - update email to Devise User
body: <p>I have the following profile_controller's action:</p>
  
  <pre><code>def update
    updated = if _profile_params[:password].present?
      current_user.skip_confirmation!
      current_user.update_with_password(_profile_params)
    else
      current_user.skip_confirmation!
      current_user.update(_profile_params)
    end
  
    if updated
      render json: ProfilePresenter::Public.new(current_user)
    else
      render status: :unprocessable_entity,
           json: Oj.dump({ errors: current_user.errors.messages })
    end
  end
  </code></pre>
  
  <p>If I PUT to the controller the following payload:</p>
  
  <pre><code>{"first_name":"Aieie", "phone": "+393345678909", "email": "example@gmail.com"}
  </code></pre>
  
  <p>The system generates a confirmation email, even though I used <code>skip_confirmation!</code> to skip it.</p>
  
  <p>How can I avoid the system to send the confirmation email?</p>