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:
@@ -24,6 +24,8 @@ class Vehicle < ActiveRecord::Base
|
||||
before_save :decode_vin
|
||||
after_initialize :get_details
|
||||
|
||||
self.primary_key = :id
|
||||
|
||||
# returns a human readable string
|
||||
def to_s
|
||||
return "#{self.customer.name} - #{self.year} #{self.make} #{self.model}"
|
||||
|
||||
Reference in New Issue
Block a user