Update customer.rb

This commit is contained in:
2016-05-17 10:54:03 -04:00
parent cae904b5a8
commit 5117e7a479

View File

@@ -26,8 +26,9 @@ class Customer < ActiveRecord::Base
def self.all def self.all
Customer.without_callback(:initialize, :after, :pull) do Customer.without_callback(:initialize, :after, :pull) do
return Customer.all customers = Customer.all
end end
return customers
end end
# returns a human readable string # returns a human readable string