mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Fixed destroy call
This commit is contained in:
1 parent
12cebb1cd1
commit
b4833d7a5f
1 file changed
+1
-1
@@ -27,7 +27,7 @@ class QboInvoice < ActiveRecord::Base
|
||||
qbo_invoice.save!
|
||||
}
|
||||
#remove deleted invoices
|
||||
where.not(invoices.map(&:id)).destroy
|
||||
where.not(invoices.map(&:id)).destroy_all
|
||||
end
|
||||
|
||||
def self.update(id)
|
||||
|
||||
Reference in new issue
Block a user