Update customer.rb

This commit is contained in:
2016-05-17 11:48:58 -04:00
parent e82d09c027
commit 68169de61d

View File

@@ -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