我正在浏览Ruby on Rails教程3,并且很有兴趣,但我只是遇到了一些没有得到解决的问题。当我运行我的规范时,有两个测试失败。/app/views/shared/_error_messages.html.erb:3:in `_app_views_shared__error_messages_html_erb___3390867530789228804/app/views/users/edit.html.erb:3:in `_app_views_users_
我让我的站点使用下面的路由,但是我需要发送一个不需要DB参数的新版本的站点。我删除了DB部分,并发布到一个新的IIS虚拟目录中,它只是加载。它从不停止装载。routes.MapRoute( "{db}/{controller}/{action}/{id}", // URL with parameters
new { db = "Home", controller = "Home", action = "Index", id