Update customer.rb

This commit is contained in:
2016-05-02 14:03:32 -04:00
parent 6f5b903e5d
commit 3de06cad11

View File

@@ -126,7 +126,7 @@ class Customer < ActiveRecord::Base
end
# remove deleted customers
#where.not(customers.map(&:id)).destroy_all
where.not(customers.map(&:id)).destroy_all
end
# Magic Method