From 68169de61d929e0857551554a052dfe3df1824cb Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 17 May 2016 11:48:58 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 527a028..acbba26 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -26,9 +26,8 @@ class Customer < ActiveRecord::Base def all without_callback(:initialize, :after, :pull) do - @@customers = Customer.all + Customer.all end - return @@customers end # returns a human readable string