English 中文(简体)
rails Routing Broken In Production - Caching of path.rb
原标题:Rails Routing Broken In Production - Caching of routes.rb suspected

最新情况:指出这一问题是因为我一半的rel没有重新开始。 感谢大家提供帮助!

民间,即是一个紧迫问题。 基本上,我行道是在我的当地东道主。 但是,如果把这一路线用于生产,则似乎并不正确。

例如,鉴于一条新的路线“/邀请”,有时会达到404条,有时会正确工作。

我怀疑有些海滩上,但我不相信。

Carlos:当找不到一页(路线应当准确时)

Processing UsersController#network (for 67.180.78.126 at 2010-06-01 09:59:31) [GET] Parameters: {"id"=>"new"}

ActionController::RoutingError (No route matches "/comm/role_playing_games" with {}):
app/controllers/application_controller.rb:383:in prev_page_label
app/controllers/application_controller.rb:238:in
log_timed_info
app/controllers/users_controller.rb:155:in network
app/controllers/users_controller.rb:151:in
network
app/controllers/application_controller.rb:44:in turn_on_query_caching
app/controllers/application_controller.rb:43:in
turn_on_query_caching
app/controllers/application_controller.rb:42:in turn_on_query_caching
app/controllers/application_controller.rb:41:in
turn_on_query_caching
app/controllers/application_controller.rb:40:in turn_on_query_caching
app/controllers/application_controller.rb:39:in
turn_on_query_caching haml (3.0.6) lib/sass/plugin/rack.rb:41:in `call

Rendering /mnt/app/releases/20100524233313/public/404.html (404 Not Found)

最佳回答

从你所看到的一点来看,这无疑是一个ach或rou弄的问题。

象你那样,你试图与上页链接,该个人在<代码>上。 页: 1

问题回答

Did you make sure you restarted your server (like apache, ngix or passenger)? Also, sometimes a browser can cache urls, just close your browser and reopen it, see if that fixes it.

而且,一度在蓝月,我就忘记把该守则推向全球信息技术公司,因此,生产服务器没有获得最新代码。 仅检查您的服务器实际上有该代码。





相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签