Hi. I came to the following doubt. RoR is good in automating things, ex: in Iteration A1: Get Something Running, we operate over the Product entity by scaffolding and migrating it and these operations create a bunch of new files and the db table as well. I saw that we can rollback the migration to an older version of the schema, but can I totally undone the procedure(s), eg I want to undone the migration and the scaffolding. Is there a command for undoing things?
For instance if I decide to undone the scaffolding by hand I´ll have to delete manually all the related files and that´s a lot of work and can lead to mistakes also, eg, deleting a wrong file or forgetting to delete one of them…