メモ
新しいモデルでテーブルを作成
$ rake db:migrate
scaffoldでソースを生成
$ ruby script/generate scaffold Atomap ./script/../config/boot.rb:29:Warning: require_gem is obsolete. Use gem instead. exists app/controllers/ exists app/helpers/ create app/views/atomaps exists app/views/layouts/ exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ skip app/models/atomap.rb create test/unit/atomap_test.rb create test/fixtures/atomaps.yml create app/views/atomaps/_form.rhtml create app/views/atomaps/list.rhtml create app/views/atomaps/show.rhtml create app/views/atomaps/new.rhtml create app/views/atomaps/edit.rhtml create app/controllers/atomaps_controller.rb create test/functional/atomaps_controller_test.rb create app/helpers/atomaps_helper.rb create app/views/layouts/atomaps.rhtml identical public/stylesheets/scaffold.css
ワーニングになるが取りあえず無視