Update customer.rb

This commit is contained in:
2016-05-12 09:25:23 -04:00
parent a9dcb183fd
commit a64dc10471

View File

@@ -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)