From d0440249816989a2ab4fe03438cc701f59934922 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 29 Feb 2016 09:41:48 -0500 Subject: [PATCH] Update qbo_item.rb Removed all call --- app/models/qbo_item.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/qbo_item.rb b/app/models/qbo_item.rb index 104d12d..d99560b 100644 --- a/app/models/qbo_item.rb +++ b/app/models/qbo_item.rb @@ -19,7 +19,7 @@ class QboItem < ActiveRecord::Base end def self.update_all - items = get_base.service.all.find_by(:type, "Service") + items = get_base.service.find_by(:type, "Service") # Update the item table items.each { |item|