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:
@@ -122,7 +122,7 @@ 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)
|
def self.without_callback(*args, &block)
|
||||||
skip_callback(*args)
|
skip_callback(*args)
|
||||||
yield
|
yield
|
||||||
set_callback(*args)
|
set_callback(*args)
|
||||||
|
|||||||
Reference in New Issue
Block a user