mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Fixed destroy call
This commit is contained in:
@@ -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