十 09
Rails3:rails destroy scaffold Page
笔记一下,不常用的destroy命令,和generate相反。有时候写错了一个关键的地方,随手想删掉,就想到它了。比如刚才。。。 liwei$ rails destroy –help Usage: rails destroy GENERATOR [args] [options] General options: -h, [--help] # Print generator’s options and usage -p, [--pretend] # Run but do not make any changes -f, [--force] # Overwrite files that already exist -s, [--skip] # Skip files that already exist -q, [--quiet] [...]
(阅读更多精彩内容...)