mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -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!
|
qbo_invoice.save!
|
||||||
}
|
}
|
||||||
#remove deleted invoices
|
#remove deleted invoices
|
||||||
where.not(invoices.map(&:id)).destroy
|
where.not(invoices.map(&:id)).destroy_all
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.update(id)
|
def self.update(id)
|
||||||
|
|||||||
Reference in new issue
Block a user