Using Devise 2.1.2 and Rails 3.2.6
I\'m doing this Q&A just in case others run into this problem because I found little and scattered documentation for it.
Simply uncomment this strings in devise migration:
## Lockable # t.integer :failed_attempts, :default => 0 # Only if lock strategy is :failed_attempts # t.string :unlock_token # Only if unlock strategy is :email or :both # t.datetime :locked_at