Rename Customer

This commit is contained in:
2016-04-28 11:56:45 -04:00
parent 11e215189b
commit b5d42fcd7b

View File

@@ -11,10 +11,10 @@
class Vehicle < ActiveRecord::Base class Vehicle < ActiveRecord::Base
unloadable unloadable
belongs_to :qbo_customer belongs_to :customer
attr_accessible :year, :make, :model, :qbo_customer_id, :notes, :vin attr_accessible :year, :make, :model, :customer_id, :notes, :vin
validates_presence_of :year, :make, :model, :qbo_customer_id validates_presence_of :year, :make, :model, :customer_id
before_validation :decode_vin before_validation :decode_vin
after_initialize :get_details after_initialize :get_details