Update customer.rb

This commit is contained in:
2016-05-31 08:47:11 -04:00
parent 9342ef146c
commit ca63852b4f

View File

@@ -15,8 +15,8 @@ class Customer < ActiveRecord::Base
has_many :qbo_purchases
has_many :vehicles
attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone
attr_accessor :notes, :email, :primary_phone, :mobile_phone
attr_accessible :name
validates_presence_of :id, :name
self.primary_key = :id