Update customer.rb

This commit is contained in:
2016-05-31 08:48:31 -04:00
parent ca63852b4f
commit c3cce531d6

View File

@@ -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