我的身份验证系统在实际的heroku应用程序中出了什么问题?

时间:2015-05-17 19:31:00

标签: authentication heroku devise omniauth-facebook

我尝试实现日志记录并使用devise,omniauth和facebook注册。现在它看起来像facebook实现工作,但每当我尝试通过Facebook登录hroku网站时,它会出现错误并说:“检查你的日志。 这是我的日志:

  <location path="CDN">
    <system.webServer>
      <staticContent>
        <mimeMap fileExtension="*" mimeType="application/octet-stream"/>
      </staticContent>
    </system.webServer>
  </location>

1 个答案:

答案 0 :(得分:0)

问题的根源在于:

undefined method `current_sign_in_at' for<User:0x007f134796b0e8>):20150517T18:26:05.357091+00:00 app[web.1]:

我猜你还没有迁移你的数据库来包含那个字段,因为User对象在那里,但字段/方法却没有。