From 94f10dc9cd477c50db6d125b5fe973b5d4163fda Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 31 Aug 2016 23:52:55 -0400 Subject: [PATCH] Update issue_patch.rb --- lib/issue_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/issue_patch.rb b/lib/issue_patch.rb index 68e2a0d..04d96b3 100644 --- a/lib/issue_patch.rb +++ b/lib/issue_patch.rb @@ -24,7 +24,7 @@ module IssuePatch unloadable # Send unloadable so it will not be unloaded in development belongs_to :customer, primary_key: :id belongs_to :qbo_estimate, primary_key: :id - belongs_to :qbo_invoice, primary_key: :id + belongs_to_many :qbo_invoice, primary_key: :id belongs_to :vehicle, primary_key: :id end