mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-03 17:00:43 -04:00
Update vehicle.rb
This commit is contained in:
1 parent
e561b52e9b
commit
fc0a416175
1 file changed
+2
-2
@@ -12,8 +12,8 @@ class Vehicle < ActiveRecord::Base
|
||||
unloadable
|
||||
belongs_to :qbo_customer
|
||||
|
||||
attr_accessible :year, :make, :model
|
||||
validates_presence_of :year, :make, :model
|
||||
attr_accessible :year, :make, :model, :qbo_customer, :notes, :vin
|
||||
validates_presence_of :year, :make, :model, :qbo_customer
|
||||
|
||||
def to_s
|
||||
return "#{year} #{make} #{model}"
|
||||
|
||||
Reference in new issue
Block a user