scaffold is no longer supported in rails2.0.2
If you really want to build the Depot project. I strongly recommend you to change back to Rails1.2.6
Do following:
1. typed "gem uninstall rails" at the rails command line
2. typed "gem install rails --version 1.2.6 --include-dependencies"
at the rails command line
3. delete or rename the original depot folder
4. do the following to quickly get back to where you were when the
error hit you:
D:\Rails\rails_apps\work>rails depot
cd depot
D:\Rails\rails_apps\work\depot>ruby script/generate model product
edit D:\Rails\rails_apps\work\depot\db\migrate\001_create_products.rb
add
t.column :title, :string
t.column :text, :text
t.column :image_url, :string
rake db:migrate
ruby script/generate controller admin
edit D:\Rails\rails_apps\work\depot\app\controllers
\admin_controller.rb
add
scaffold :product
(change D:\Rails to where you installed rails, obviously)
Thanks