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