Update qbo_item.rb

This commit is contained in:
2016-05-17 07:57:44 -04:00
parent c5a461f12a
commit bb9d9e5650

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