From a020231224ac93bac3825319665868edbde366db Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 2 May 2016 14:07:14 -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