Not only generate but also destroy

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.