undefined local variable or method `confirmed_at' for #User

后端 未结 5 1128
一个人的身影
一个人的身影 2021-01-31 10:43

I am using Rails 3. There is a possible duplicate here. But it did not solve my problem, neither did any other solution.

My migration is as follows

class         


        
5条回答
  •  悲&欢浪女
    2021-01-31 10:54

    Note for myself. Someone might find it helpful: What we need is 2 commands below:

        rake db:migrate:reset 
        rake db:reset
    

    Voila! It works!

提交回复
热议问题