Forum: Ruby on Rails deleting the files that were created by a generator

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
oren (Guest)
on 2007-07-29 23:14
(Received via mailing list)
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 )-:
Elchtest (Guest)
on 2007-07-29 23:57
(Received via mailing list)
>> ruby script/generate <whatever>

use
ruby script/destroy <whatever>

to get rid of the generated files.
oren (Guest)
on 2007-07-30 06:40
(Received via mailing list)
great, thanks
This topic is locked and can not be replied to.