今天用 devise 碰到问题,解决方案是这个 issue 中的第一条回复: For some reason, restarting the rails server fixed this issue. https://github.com/plataformatec/devise/issues/1773
For some reason, restarting the rails server fixed this issue.
额
好吧,又碰到类似情况 I had this same problem, and a simple restart of my server solved it.
I had this same problem, and a simple restart of my server solved it.
Rails 最大的约定就是:Restart to make it work!