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:
@@ -12,8 +12,8 @@ class Vehicle < ActiveRecord::Base
|
|||||||
unloadable
|
unloadable
|
||||||
belongs_to :qbo_customer
|
belongs_to :qbo_customer
|
||||||
|
|
||||||
attr_accessible :year, :make, :model
|
attr_accessible :year, :make, :model, :qbo_customer, :notes, :vin
|
||||||
validates_presence_of :year, :make, :model
|
validates_presence_of :year, :make, :model, :qbo_customer
|
||||||
|
|
||||||
def to_s
|
def to_s
|
||||||
return "#{year} #{make} #{model}"
|
return "#{year} #{make} #{model}"
|
||||||
|
|||||||
Reference in New Issue
Block a user