provider another solution based on git
start a new project
rails new project_name
cd project_name
initialize git
git init
git commit -m "initial commit"
create a scaffold
rails g scaffold MyScaffold
rake db:migrate
rollback the scaffold
rake db:rollback
git reset --hard
git clean -f -d