源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

rails "No route matches" 错误的解决方法

  • 时间:2021-09-04 23:28 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:rails "No route matches" 错误的解决方法
有时候 rails 会出现: "No route matches"错误, 可以利用如下方法解决; 找到 config/routes.rb 文件, 打开编辑, 找到如下行: # See how all your routes lay out with "rake routes" 在这行下面添加一行, 内容如下: map.connect '',:controller=>"index",:action=>"index" 解决no such file to load — Mysql
[u]复制代码[/u] 代码如下:
> rails -d mysql myapp
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部