undo scaffold rails code example Example: rails undo scaffold 1. rake db:rollback 2. rails destroy scaffold NameOfScaffold