Update customer.rb

This commit is contained in:
2016-05-12 09:23:51 -04:00
parent 1259abc6c7
commit a9dcb183fd

View File

@@ -11,8 +11,6 @@
class Customer < ActiveRecord::Base class Customer < ActiveRecord::Base
unloadable unloadable
include WithoutCallback
has_many :issues has_many :issues
has_many :qbo_purchases has_many :qbo_purchases
has_many :vehicles has_many :vehicles
@@ -124,11 +122,11 @@ 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 without_callback(*args, &block)
# skip_callback(*args) skip_callback(*args)
# yield yield
# set_callback(*args) set_callback(*args)
#end end
private private