Update customer.rb

This commit is contained in:
2016-05-02 14:02:13 -04:00
parent 5b6043a5de
commit 6f5b903e5d

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