From 4db96a1792534d55f0e09856c3f9e942dd8cc918 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 12 May 2016 16:58:40 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 0f2b131..af2a20b 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -13,7 +13,7 @@ class Customer < ActiveRecord::Base has_many :issues, :foreign_key => 'customers_id' has_many :qbo_purchases - has_many :vehicles, :foreign_key => 'customers_id' + has_many :vehicles attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone, :skip_details