mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customer.rb
This commit is contained in:
1 parent
476a194410
commit
0c4b8a24d9
1 file changed
+2
-3
@@ -15,12 +15,11 @@ class Customer < ActiveRecord::Base
|
||||
has_many :qbo_purchases
|
||||
has_many :vehicles
|
||||
|
||||
#before_save :qbo
|
||||
attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone, :skip_details
|
||||
|
||||
attr_accessible :name, :skip_details
|
||||
validates_presence_of :id, :name
|
||||
|
||||
after_initialize :pull
|
||||
after_initialize :pull, unless: :skip_details
|
||||
after_save :push
|
||||
|
||||
self.primary_key = :id
|
||||
|
||||
Reference in new issue
Block a user