From 4fa1f4ac81951f9b373d2167413ac3401fd8d060 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 13 Apr 2023 18:14:25 -0600 Subject: AƱade servicios y validaciones de pago MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/order.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/models/order.rb') diff --git a/app/models/order.rb b/app/models/order.rb index ae5a0d5..213bde9 100644 --- a/app/models/order.rb +++ b/app/models/order.rb @@ -7,4 +7,5 @@ class Order < ApplicationRecord has_one :payment has_many :product_orders has_many :products, through: :product_orders + accepts_nested_attributes_for :product_orders end -- cgit v1.2.3