From d827936c851a72b01b9e5d3c8b84264dd78660eb Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 1 Sep 2016 08:26:20 -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 952fd3d..ae6c503 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_and_belongs_to_many :qbo_invoices, association_foreign_key: :issue_id, :class_name => 'Issue', join_table: :issues_qbo_invoices + has_and_belongs_to_many :qbo_invoices, :association_foreign_key => 'issue_id', :class_name => 'Issue', :join_table => 'issues_qbo_invoices' belongs_to :vehicle, primary_key: :id end