简单问题,ruby script/generate scaffold 总是出错?
D:\ROR\addressbook1>ruby script/generate scaffold contact admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists app/views/layouts/
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical app/models/contact.rb
identical test/unit/contact_test.rb
identical test/fixtures/contacts.yml
wrong number of arguments (1 for 0)
结果总是
wrong number of arguments (1 for 0)
请问这是什么问题啊,我是新生,帮帮忙啊,
我的据库连接没有问题啊!
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists app/views/layouts/
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical app/models/contact.rb
identical test/unit/contact_test.rb
identical test/fixtures/contacts.yml
wrong number of arguments (1 for 0)
结果总是
wrong number of arguments (1 for 0)
请问这是什么问题啊,我是新生,帮帮忙啊,
我的据库连接没有问题啊!
...全文
相关推荐
Ruby入门例子
Ruby入门最好的例子 1在数据库建立表: 2建立框架,命令:
Python爬虫实战,requests模块,Python实现抓取腾讯视频弹幕评论
前言 利用Python实现抓取腾讯视频弹幕,废话不多说。 让我们愉快地开始吧~ 开发工具 Python版本: 3.6.4 相关模块: requests模块; pandas模块 以及一些Python自带的模块。 环境搭建 安装Python并添加到环境变量,pip安装需要的相关模块即可。 思路分析 本文以爬取电影《革命者》为例,讲解如何爬取腾讯视频的弹幕和评论! 目标网址 https://v.qq.com/x/cover/mzc00200m72fcup.html 抓取弹幕 分析网址 依然进入浏览器的开发者工具
Ubuntu 11.04安装Ruby on rails 连接MySQL数据库.pdf
Ubuntu 11.04安装Ruby on rails 连接MySQL数据库.pdf
用Ext Scaffold插件打造Rails的Ext风格
Rails GUI Development with Ext JS 10-Jan-08 RUG-B [PDF文件] 博文链接:https://taito.iteye.com/blog/208227
rails-scaffold-react:Rails 的 React 脚手架应用程序
Rails 的 React 脚手架应用程序 演示: : 许可证:麻省理工学院


