ランキング参加中プログラミング [TOP] 次>> 注文を受ける機能を実装してきます。 実装するordersテーブルのフィールドは以下のようにします。 name: 客氏名(string型) address: 客住所(text型) email: 客メールアドレス(string型) tel_number: 客電話番号(s…
ランキング参加中プログラミング [TOP] 次>> 買い物カートから、商品を削除出来る機能を実装していきます。 まずは「line_items_controller.rb」の編集です。 【app/controllers/line_items_controller.rb】 class LineItemsController < ApplicationControl…