-1

I get this error when I try use omniauth-facebook: enter image description here

Follow my code:

enter image description here

Cœur
  • 37,241
  • 25
  • 195
  • 267
S_A
  • 411
  • 1
  • 7
  • 25

2 Answers2

1

It looks like you are missing the confirmable database columns. Either add them or remove the devise :confirmable modules from your model.

Here are the steps to add the relevant code/schema if you did not install devise with the confirmable module initially: https://github.com/plataformatec/devise/wiki/How-To:-Add-:confirmable-to-Users

Ivan
  • 235
  • 2
  • 6
0

I think you forgot to uncomment the code in the devise migration that is needed for using the confirmable module.

  t.string   :confirmation_token
  t.datetime :confirmed_at
  t.datetime :confirmation_sent_at
  t.string   :unconfirmed_email # Only if using reconfirmable
Vlatko Ristovski
  • 111
  • 1
  • 11