I am pretty new to RoR and I have installed Devise gem successfully. When i attempt to go t localhost:3000 I receive and error undefined local variable or method `confirmed_at'
I am assuming this has to do with the Devise gem. My schema.rb
doesnt show the
t.string "confirmation_token"
t.datetime "confirmed_at"
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
I have the Confirmable section non-commented in the Database, as well as added :confirmable
in the User.rb
file Any help is greatly appreciated here. I'm not sure how to get the schema to match up.
I had the exact same problem and I solve it with this steps:
I Close the server
I open my project with
command line
, then I run these commandsI open the project in VS Code then I run
It works