因此,我已经将我的应用程序部署到heroku上进行了几周的测试,从昨天开始,我在heroku日志中不断收到以下类型的错误:
Started GET "/user/shipping_address" for xx.xxx.xxx at 2012-02-09 15:46:37 +0000
NameError (undefined local variable or method `sign_up_path' for #<UsersController:0x000000036210a8>):
app/controllers/application_controller.rb:57:in `require_user'另一个:
Started POST "/purchase/search" for xx.xxx.xxx at 2012-02-09 15:31:30 +0000
NameError (undefined local variable or method `sign_up_path' for #<PurchasesController:0x000000051a3d08>):
app/controllers/application_controller.rb:57:in `require_user'我还不断地在firebug中收到奇怪的object_id错误,比如缺少"object_id“,在代码中永远不应该在这一点上使用javascript。
它在开发/生产的本地环境中没有任何缺陷,在我的heroku应用程序上也是如此。
任何提示都非常感谢。这个错误真的要了我的命。最好的,菲尔
(Cedar-Stack,Rails 3.0,authlogic)
发布于 2012-02-12 01:10:37
好了,我将authlogic更新到了最新的版本3.1.0 (我想它是在3.0.3),现在一切都正常了。
https://stackoverflow.com/questions/9214172
复制相似问题