From b6f8304d13d96e432c273c448ad9a5e2db1b0926 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 21 Apr 2016 09:31:22 -0400 Subject: [PATCH] Update qbo_customer.rb Added ownership of vehicles --- app/models/qbo_customer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/qbo_customer.rb b/app/models/qbo_customer.rb index 273cb4b..d0fa1cd 100644 --- a/app/models/qbo_customer.rb +++ b/app/models/qbo_customer.rb @@ -12,6 +12,7 @@ class QboCustomer < ActiveRecord::Base unloadable has_many :issues has_many :qbo_purchases + has_many :vehicles attr_accessible :name validates_presence_of :id, :name