mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 09:24:23 -05:00
Update customer.rb
This commit is contained in:
@@ -16,7 +16,7 @@ class Customer < ActiveRecord::Base
|
|||||||
has_many :vehicles
|
has_many :vehicles
|
||||||
|
|
||||||
attr_accessor :notes, :email, :primary_phone, :mobile_phone
|
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
|
validates_presence_of :id, :name
|
||||||
|
|
||||||
self.primary_key = :id
|
self.primary_key = :id
|
||||||
|
|||||||
Reference in New Issue
Block a user