From 77e50227086f36364b705801d93c624cb9f0834a Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 17 May 2016 08:01:05 -0400 Subject: [PATCH] Update qbo_item.rb --- 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 d21b328..0ecdcd5 100644 --- a/app/models/qbo_item.rb +++ b/app/models/qbo_item.rb @@ -37,6 +37,6 @@ class QboItem < ActiveRecord::Base end #remove deleted items - QboItem.where.not(items.map(&:id).destroy_all + QboItem.where.not(items.map(&:id)).destroy_all end end