From d345365e0b5605763daad7b141e0c39a5dc509f9 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 16 May 2016 17:19:35 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index af2a20b..9731acd 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -103,7 +103,7 @@ class Customer < ActiveRecord::Base query = "SELECT Id, DisplayName FROM Customer" query << " WHERE Metadata.LastUpdatedTime>'#{last}' " if last - customers = get_base.service.query() + customers = Qbo.get_base(:customer).service.query() transaction do # Update the customer table