我有一个Rails 3.2 App,显示生产中找不到Route的错误 但不是在发展中。我在本地机器和服务器上运行了rake Route,下面的文字显示它们是相同的。我检查了路由配置文件,它是相同的,视图是相同的。我在制作中得到的确切信息是:
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
耙路线的两个输出是:
Rake Route Development:
harvest GET /harvest(.:format) visits#harvest
生产中的Rake路线
harvest GET /harvest(.:format) visits#harvest
我很难过还有别的东西要看。本地机器是Macbook,服务器是Centos