2012-12-22から1日間の記事一覧
いよいよ残る edit, update, destroy を作っていきますが、その前に使いまわしの出来る部分を部分テンプレートにしておきます。sample/app/views/customers/_customer.html.erb <tr><th>顧客名</th><td><%= customer.name %></td></tr> <tr><th>連絡先</th><td><%= customer.phone %></td></tr> sample/app/views/cu…