title: Getting error undefined method `reconfirmable' on a fresh install of rails and devise
body: <p>I have a fresh install of Rails and devise.</p>
  
  <p>I run:</p>
  
  <pre><code>rails g devise:install
  
  rails g devise user
  </code></pre>
  
  <p>I sign up and I navigate to /users/edit and I receive an error </p>
  
  <pre><code>undefined method `reconfirmable' for #&lt;Class:0x007ff836033398&gt;
  
  6:   &lt;div class="form-inputs"&gt;
  7:     &lt;%= f.input :email, :required =&gt; true, :autofocus =&gt; true %&gt;
  8: 
  9:     &lt;% if resource.class.reconfirmable &amp;&amp; resource.unconfirmed_email.present? %&gt;
  10:       &lt;p&gt;Currently waiting confirmation for: &lt;%= resource.unconfirmed_email %&gt;&lt;/p&gt;
  11:     &lt;% end %&gt;
  12: 
  </code></pre>
  
  <p>Any idea what I could be doing wrong here?</p>
  
  <p>Many thanks!</p>