OSDN Git Service

ご恩登録機能のCRUDをscaffoldベースで生成し実装 master
authorS.Isogai <dev@moving-castle-on-the-web.net>
Sun, 17 Apr 2011 07:13:43 +0000 (16:13 +0900)
committerS.Isogai <dev@moving-castle-on-the-web.net>
Sun, 17 Apr 2011 07:17:43 +0000 (16:17 +0900)
commite5f446589622f80aa0e82ad66e01c9f9856755c9
tree688cad0a638f045404a9ce2b8bbb88e0cf20c40c
parent20086308b039df00513308affbc10a0541d75ce6
ご恩登録機能のCRUDをscaffoldベースで生成し実装

    rails g scaffold goon 実施
    rake db:migrate 実施
    goonモデルのテストを作成
    goonモデル実装
    scaffoldで生成されたspecファイル内のデータを、本番データに近い内容の日本語に変更
    長さチェックを行うためにgoonモデル修正,合わせてテストを追記
21 files changed:
app/controllers/goons_controller.rb [new file with mode: 0644]
app/helpers/goons_helper.rb [new file with mode: 0644]
app/models/goon.rb [new file with mode: 0644]
app/views/goons/_form.html.erb [new file with mode: 0644]
app/views/goons/edit.html.erb [new file with mode: 0644]
app/views/goons/index.html.erb [new file with mode: 0644]
app/views/goons/new.html.erb [new file with mode: 0644]
app/views/goons/show.html.erb [new file with mode: 0644]
config/routes.rb
db/migrate/20110416145006_create_goons.rb [new file with mode: 0644]
db/schema.rb
public/stylesheets/scaffold.css [new file with mode: 0644]
spec/controllers/goons_controller_spec.rb [new file with mode: 0644]
spec/helpers/goons_helper_spec.rb [new file with mode: 0644]
spec/models/goon_spec.rb [new file with mode: 0644]
spec/requests/goons_spec.rb [new file with mode: 0644]
spec/routing/goons_routing_spec.rb [new file with mode: 0644]
spec/views/goons/edit.html.erb_spec.rb [new file with mode: 0644]
spec/views/goons/index.html.erb_spec.rb [new file with mode: 0644]
spec/views/goons/new.html.erb_spec.rb [new file with mode: 0644]
spec/views/goons/show.html.erb_spec.rb [new file with mode: 0644]