From 6f5b903e5d0c2ca37de3cac644ced9ac0159701f Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 2 May 2016 14:02:13 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 1b589a4..1cdff70 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -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