From c3cce531d6a9c148e8c3f0bf5854e16a77718796 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 31 May 2016 08:48:31 -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 5cd8419..1687829 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -16,7 +16,7 @@ class Customer < ActiveRecord::Base has_many :vehicles attr_accessor :notes, :email, :primary_phone, :mobile_phone - attr_accessible :name + attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone validates_presence_of :id, :name self.primary_key = :id