Update customer.rb

This commit is contained in:
ricky committed 2016-05-02 14:02:13 -04:00
1 parent 5b6043a5de
commit 6f5b903e5d
1 file changed
+1 -1
+1 -1
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