I want to delete all the files it created and roll back any changes made, but not necessarily to the database, but more to the config files.
I\'d like to automatical
This is a prototype to generate or destroy a controller or model in Rails:
rails generate/destroy controller/model [controller/model Name]
For example, if you need to generate a User Controller:
rails generate controller User
or
rails g controller User
If you want to destroy the User controller or revert to above action then use:
rails destroy controller User
or:
rails d controller User
