From a715434f4267ec889b73f9196dc6274bcb7e3277 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 17 May 2016 11:03:22 -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 8a1a1cf..46a8c5d 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -24,7 +24,7 @@ class Customer < ActiveRecord::Base self.primary_key = :id - def self.all + def all Customer.skip_callback(:initialize, :after, :pull) customers = Customer.all Customer.set_callback(:initialize, :after, :pull)