From 19f1ffa89c5970d7dd576e84935b57fdf6951a2e Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 2 May 2016 12:58:10 -0400 Subject: [PATCH] Update qbo_controller.rb --- app/controllers/qbo_controller.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index 7c8abb1..3331640 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -69,12 +69,12 @@ class QboController < ApplicationController # def sync if Qbo.exists? - Customer.update_all - QboItem.update_all - QboEmployee.update_all - QboEstimate.update_all - QboInvoice.update_all - QboPurchase.update_all + Customer.sync + QboItem.sync + QboEmployee.sync + QboEstimate.sync + QboInvoice.sync + QboPurchase.sync # Record the last sync time Qbo.update_time_stamp