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
You could use rails d model/controller/migration ... to destroy or remove the changes generated by using the rails generate command.
For example:
rails g model Home name:string
creates a model named home with attribute name. To remove the files and code generated from that command we can use
rails d model Home