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