plataformatec/devise — Issue #1611: uninitialized constant Devise::Models::Reconfirmable
Author: erwin
Created: 2012-01-29 17:19:19+00:00
State: open

upgraded my app to 2.0

config/initializers/devise.rb
config.reconfirmable = true

config/routes.rb
devise_for :users , :controllers => {:sessions => "users/sessions", :registrations => "users/registrations", :passwords => "users/passwords", :confirmations => "users/confirmations", :unlocks => "users/unlocks" } do

models/user.rb
class User < ActiveRecord::Base
devise :database_authenticatable, :registerable, :confirmable, :reconfirmable , :lockable, :recoverable, :rememberable, :trackable

schema
create_table "users", :force => true do |t|
t.string "email", :default => "", :null => false
t.string "unconfirmed_email"
...

running fine without :reconfirmable