更新:原来这个问题是因为我的一半杂种没有重新启动。谢谢大家的帮助!
大家好,我有一个紧急问题。本质上,我的路由在我的本地主机上工作。但是当我将它部署到生产环境时,这些路线似乎无法正常工作。
例如,给定一条新路线“/invites”——有时我会得到 404,有时它会正常工作。
我怀疑某处有一些缓存,但我不确定。
日志:当找不到页面时(当路由应该是准确的时)
处理 UsersController#network (for 67.180.78.126 at 2010-06-01 09:59:31) [GET] 参数:{"id"=>"new"}
ActionController::RoutingError (没有路由匹配 "/comm/role_playing_games" 与 {}):
app/controllers/application_controller.rb:383:in log_timed_info' app/controllers/users_controller.rb:155:in network' app/controllers/application_controller .rb:44:in turn_on_query_caching' app/controllers/application_controller.rb:42:in turn_on_query_caching' app/controllers/application_controller.rb:40:in turn_on_query_caching' haml (3.0.6) lib/sass/plugin/rack.rb: 41:在“通话”中prev_page_label'
app/controllers/application_controller.rb:238:innetwork'
app/controllers/users_controller.rb:151:inturn_on_query_caching'
app/controllers/application_controller.rb:43:inturn_on_query_caching'
app/controllers/application_controller.rb:41:inturn_on_query_caching'
app/controllers/application_controller.rb:39:in渲染 /mnt/app/releases/20100524233313/public/404.html(404 未找到)