Update issue_patch.rb

This commit is contained in:
2016-09-01 08:26:20 -04:00
committed by GitHub
parent fcc614ff54
commit d827936c85

View File

@@ -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