Ruby on rails 使用Desive登录时轨道超时

Ruby on rails 使用Desive登录时轨道超时,ruby-on-rails,ruby-on-rails-3,heroku,devise,Ruby On Rails,Ruby On Rails 3,Heroku,Devise,在Heroku运行轨道。除了登录超时外,其他一切似乎都正常工作 2013-06-24T11:21:27.545146+00:00 heroku[router]: at=info method=GET path=/surveys/new/ host=site.com fwd="66.249.72.95" dyno=web.1 connect=2ms service=19ms status=302 bytes=96 2013-06-24T11:21:28.002026+00:00 app[web.1

在Heroku运行轨道。除了登录超时外,其他一切似乎都正常工作

2013-06-24T11:21:27.545146+00:00 heroku[router]: at=info method=GET path=/surveys/new/ host=site.com fwd="66.249.72.95" dyno=web.1 connect=2ms service=19ms status=302 bytes=96
2013-06-24T11:21:28.002026+00:00 app[web.1]: Started POST "/users/sign_in" for 74.66.250.183 at 2013-06-24 11:21:28 +0000
2013-06-24T11:21:28.007837+00:00 app[web.1]: Processing by Devise::SessionsController#create as HTML
2013-06-24T11:21:28.007837+00:00 app[web.1]:   Parameters: {"utf8"=>"✓", "authenticity_token"=>"wJKZ6qSCJS4O4DUVO3IK1GZgjqISuLhMlGu05++e8TA=", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
2013-06-24T11:21:57.996039+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path=/users/sign_in host=site.com fwd="xx.xx.xx.xx" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0
2013-06-24T11:21:58.540165+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path=/users/sign_in host=site.com fwd="xx.xx.xx.xx" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0
2013-06-24T11:22:38.564415+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path=/users/sign_in host=site.com fwd="xx.xx.xx.xx" dyno=web.1 connect=2ms service=30001ms status=503 bytes=0
我也可以发布sessions_controller#create,但我只是使用designe中的默认文件。我没有以任何方式扩展或更改它们

这是我的user.rb模型

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable, :confirmable,
         :recoverable, :rememberable, :trackable, :validatable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
  after_initialize :init

  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :timeoutable and :omniauthable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me, :level
  # attr_accessible :title, :body
  has_many :surveys

  def init
    self.level ||= 0 if self.level.nil?
  end

end
class用户
我也面临着同样的问题,你找到解决这个问题的方法了吗?已经很长时间了,但我想我可能刚刚用核武器设计并重新安装了。这些问题没有帮助,也没有提供解决方案。作者对“我只是重新安装了”的评论,不足以让其他人继续面对这个问题。如果你不再回答自己的问题,请确保提供解决方案来帮助他人。@CarlWeis我已经没有解决方案了。