Update customer.rb

This commit is contained in:
2016-05-12 11:36:52 -04:00
parent 843c355a64
commit 2db29e1eec

View File

@@ -11,9 +11,9 @@
class Customer < ActiveRecord::Base class Customer < ActiveRecord::Base
unloadable unloadable
has_many :issues has_many :issues, :foreign_key => 'customers_id'
has_many :qbo_purchases has_many :qbo_purchases
has_many :vehicles has_many :vehicles, :foreign_key => 'customers_id'
attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone, :skip_details attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone, :skip_details