mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update qbo_item.rb
This commit is contained in:
1 parent
a8a97ce748
commit
77e5022708
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user