From e3fcc8c9bee7d59ad22461ab4bc6a9e11ab3121e Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 16 May 2016 18:23:07 -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 9a416e2..c2fae5a 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -101,7 +101,7 @@ class Customer < ActiveRecord::Base last = Qbo.first.last_sync query = "SELECT Id, DisplayName FROM Customer" - query << " WHERE Metadata.LastUpdatedTime>'#{last}' " if last + #query << " WHERE Metadata.LastUpdatedTime>'#{last}' " if last customers = Qbo.get_base(:customer).service.query()