railsしりとり scaffoldでつまづく
SHOKAI-MAG /home/sho/src/shiritori% ./script/generate scaffold word
exists app/models/
exists app/controllers/
exists app/helpers/
create app/views/words
exists app/views/layouts/
exists test/functional/
exists 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/
exists test/fixtures/
identical app/models/word.rb
identical test/unit/word_test.rb
identical test/fixtures/words.yml
exists db/migrate
Another migration is already named create_words: db/migrate/001_create_words.rbapp/view以下はできたけど
app/controllers/todo_controller.rb が生成されなかったので、controllerだけ作った
SHOKAI-MAG /home/sho/src/shiritori% ./script/generate controller word
exists app/controllers/
exists app/helpers/
create app/views/word
exists test/functional/
create app/controllers/word_controller.rb
create test/functional/word_controller_test.rb
create app/helpers/word_helper.rb