From e3fdc070dff407f48a972fe34e61b6ebe83a7bd8 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 31 Aug 2016 23:50:35 -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 7aea617..68e2a0d 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 - has_many :qbo_invoice, primary_key: :id + belongs_to :qbo_invoice, primary_key: :id belongs_to :vehicle, primary_key: :id end