Update qbo_item.rb

This commit is contained in:
ricky committed 2016-05-17 07:57:44 -04:00
1 parent c5a461f12a
commit bb9d9e5650
1 file changed
+1 -1
+1 -1
View File
@@ -37,6 +37,6 @@ class QboItem < ActiveRecord::Base
end end
#remove deleted items #remove deleted items
QboItem.where.not(items.map(&:id)).destroy_all destory_all(not items.map(&:id))
end end
end end