From 65a89407ff941f273e92adab73944c540ac61e60 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 17 May 2016 11:34:02 -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 8bbe1e4..527a028 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -107,7 +107,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()