mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 09:24: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
|
#where.not(customers.map(&:id)).destroy_all
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def without_callback(*args, &block)
|
||||||
|
skip_callback(*args)
|
||||||
|
yield
|
||||||
|
set_callback(*args)
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# pull the details
|
# pull the details
|
||||||
|
|||||||
Reference in New Issue
Block a user