railsしりとり とりえあえず全部消してscaffoldしなおし

SHOKAI-MAG /home/sho/src/shiritori% ./script/destroy scaffold word
SHOKAI-MAG /home/sho/src/shiritori% ./script/destroy controller word

で、modelから作らないでいきなりscaffoldでやったらできたよー

SHOKAI-MAG /home/sho/src/shiritori% ./script/generate scaffold word
      exists  app/models/
      exists  app/controllers/
      exists  app/helpers/
      create  app/views/words
      create  app/views/layouts/
      create  test/functional/
      create  test/unit/
      create  app/views/words/index.html.erb
      create  app/views/words/show.html.erb
      create  app/views/words/new.html.erb
      create  app/views/words/edit.html.erb
      create  app/views/layouts/words.html.erb
      create  public/stylesheets/scaffold.css
  dependency  model
      exists    app/models/
      exists    test/unit/
      create    test/fixtures/
      create    app/models/word.rb
      create    test/unit/word_test.rb
      create    test/fixtures/words.yml
      exists    db/migrate
      create    db/migrate/001_create_words.rb
      create  app/controllers/words_controller.rb
      create  test/functional/words_controller_test.rb
      create  app/helpers/words_helper.rb
       route  map.resources :words

WEBRickで起動して

SHOKAI-MAG /home/sho/src/shiritori% ./script/server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000

おお!出ましたね!
http://shokai.mag.keio.ac.jp:3000/words