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