From 96ce018912ceffb7270b883a8982b1e2403cda1c Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 4 Apr 2023 20:08:37 -0600 Subject: AƱade modelo ProductCart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/product_cart.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/models/product_cart.rb (limited to 'app/models/product_cart.rb') diff --git a/app/models/product_cart.rb b/app/models/product_cart.rb new file mode 100644 index 0000000..10d4a4c --- /dev/null +++ b/app/models/product_cart.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# ProductCart +# quantity: integer +class ProductCart < ApplicationRecord + belongs_to :cart + belongs_to :product +end -- cgit v1.2.3