Update vehicle.rb

This commit is contained in:
2016-05-31 07:52:37 -04:00
parent 9d043e4bc8
commit 5c0c0cc657

View File

@@ -28,7 +28,7 @@ class Vehicle < ActiveRecord::Base
# returns a human readable string
def to_s
return "#{self.customer.name} - #{self.year} #{self.make} #{self.model}"
return "#{customer.name} - #{year} #{make} #{model}"
end
# returns the raw JSON details from EMUNDS