Update customer.rb

This commit is contained in:
2016-05-17 10:42:19 -04:00
parent c665f5e27b
commit 9876ebf6ed

View File

@@ -24,6 +24,12 @@ class Customer < ActiveRecord::Base
self.primary_key = :id
def self.all
without_callback(:initialize, :after, :pull) do
return all
end
end
# returns a human readable string
def to_s
return name