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