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