标签:
Sometimes if we generated controller, model..., and then find the name we have inputed is wrong, so how to delete all the file associated with them? You can try cmd:
Example:(for Controller) rails destroy controller your-controller-name
and the others are also like this.
Reference:http://www.rubycc.com/column/rails3.2.3/rails.htm#删除自动创建的文件(rails destroy)
Thanks,
Blues
How to rollback the files generated automatic?
标签:
原文地址:http://my.oschina.net/u/913344/blog/363976