title: devise reconfirmable
body: <p>I would like to use the devise option :reconfirmable in my user model, so whenever a user changes his email, he needs to confirm it with a link sent by email. </p>
  
  <p>The big problem is, that the email gets never sent ...</p>
  
  <p>My setup is with devise 2.1.2 is:</p>
  
  <p>user model:</p>
  
  <pre><code>attr_accessible: unconfirmed_email, ...
  
  devise :invitable, :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :confirmable, :omniauthable
  </code></pre>
  
  <p>in the initilizer devise.rb:</p>
  
  <pre><code>config.reconfirmable = true
  </code></pre>
  
  <p>in the routes:</p>
  
  <pre><code>devise_for :users
  </code></pre>
  
  <p>in the form the model field unconfirmed_email gets set properly. I checked this through the console.</p>
  
  <p>The first confirmation email, when a user registers on the page gets send out without problem.</p>
  
  <p>I tried debugging the problem with adding this code to the initializers directory to overwrite the devise methode that gets triggered as a after_update hook:</p>
  
  <pre><code>module Devise::Models::Confirmable
    def send_confirmation_instructions
      debugger
    end
  end
  </code></pre>
  
  <p>it seems like send_confirmation_instructions is never called, since I never get to the debugger. </p>
  
  <p>Do I somehow need to call reconfirmable, or does it gets triggered automatically when setting the model attribute "unconfirmed_email" to a new email address?</p>
  
  <p>Thankfull for any help, 
  j. </p>