Deleting the files that were created by a generator


#1

after running ruby script/generate
many files are created automatically.

Let’s say I have made a mistake,
Is there an easy way to delete them or do I have to manually do it?

Where can I find a good reference/tutorial for all those actions?
I tried running ruby script/generate and it has a link to a website
(http://rubyonrails.org/show/Generators) that doesn’t have anything!

I feel like the first days of using Ubuntu, everything takes me hours
to figure out )-:


#2

ruby script/generate

use
ruby script/destroy

to get rid of the generated files.


#3

great, thanks