easy way to remove/rename controllers?

Is there an easy way to rename or remove controllers? Right now the only way I've found is modifying/deleting all of the generated files manually

For renaming, the only way that I know how to do it is manually. However for deleting controllers, you can do:

ruby script/destroy controller name_of_controller

Jeff wrote:

Is there an easy way to rename or remove controllers? Right now the only way I've found is modifying/deleting all of the generated files manually

Use the 'destroy' script, it's the opposite of the 'generate' script, and will remove the controller and the functional tests.

ruby script\destroy controller MyControllerName

Jeff softiesonrails.com