mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update vehicle.rb
This commit is contained in:
@@ -26,7 +26,7 @@ class Vehicle < ActiveRecord::Base
|
||||
|
||||
# returns a human readable string
|
||||
def to_s
|
||||
if year.nil? or make.nil? or model.nil?
|
||||
if year.nil?
|
||||
return "#{year} #{make} #{model}"
|
||||
else
|
||||
return "#{vin}"
|
||||
|
||||
Reference in New Issue
Block a user