diff --git a/lib/issue_patch.rb b/lib/issue_patch.rb index 4dd86bd..e3d9d02 100644 --- a/lib/issue_patch.rb +++ b/lib/issue_patch.rb @@ -22,7 +22,7 @@ module IssuePatch # Same as typing in the class base.class_eval do unloadable # Send unloadable so it will not be unloaded in development - belongs_to :qbo_customer, primary_key: :id + belongs_to :customer, primary_key: :id belongs_to :qbo_item, primary_key: :id belongs_to :qbo_estimate, primary_key: :id belongs_to :qbo_invoice, primary_key: :id