mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 09:24:23 -05:00
Update vehicle.rb
This commit is contained in:
@@ -18,10 +18,6 @@ class Vehicle < ActiveRecord::Base
|
|||||||
|
|
||||||
before_validation :decode_vin
|
before_validation :decode_vin
|
||||||
|
|
||||||
def name
|
|
||||||
return to_s
|
|
||||||
end
|
|
||||||
|
|
||||||
def to_s
|
def to_s
|
||||||
return "#{self.year} #{self.make} #{self.model}"
|
return "#{self.year} #{self.make} #{self.model}"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user