Update customer.rb

This commit is contained in:
2016-05-02 13:13:53 -04:00
parent c5164684ac
commit 23b06ced47

View File

@@ -138,7 +138,11 @@ class Customer < ActiveRecord::Base
push
else
puts "Getting '#{name}'"
@details[name]
begin
return @details[name]
rescue
return nil
end
end
end