deleting the files that were created by a generator

after running ruby script/generate <whatever> 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 )-:

ruby script/generate <whatever>

use ruby script/destroy <whatever>

to get rid of the generated files.

great, thanks