mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update customer.rb
This commit is contained in:
@@ -125,6 +125,12 @@ class Customer < ActiveRecord::Base
|
||||
#where.not(customers.map(&:id)).destroy_all
|
||||
end
|
||||
|
||||
def without_callback(*args, &block)
|
||||
skip_callback(*args)
|
||||
yield
|
||||
set_callback(*args)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# pull the details
|
||||
|
||||
Reference in New Issue
Block a user