Not only generate but also destroy
Posted on May 31, 2006 - Filed Under Ruby
Rails has something called generator to create all needed files for controllers, models and other things like CSS. It is nice that Rails has also destroy script to remove all related files. Removing whole Session controller would be simple like that:
./script/destroy controller Session
Popularity: 3% [?]
Hits for this post: 2631
Similar Posts
- Put’em in the queue
- JavaScript templates – Minus Mor plugin
- Skinny controller, fat model and Facebook
- Continuing with Rails version locking
- Migrating rails – what it is about?
Comments
Leave a Reply


