mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update customer.rb
This commit is contained in:
1 parent
c1ab2848df
commit
b77c4eaf37
1 file changed
+2
-2
@@ -17,10 +17,10 @@ class Customer < ActiveRecord::Base
|
||||
|
||||
#before_save :qbo
|
||||
|
||||
attr_accessible :name
|
||||
attr_accessible :name, :skip_details
|
||||
validates_presence_of :id, :name
|
||||
|
||||
after_initialize :get_details
|
||||
after_initialize :get_details unless: :skip_details
|
||||
|
||||
self.primary_key = :id
|
||||
|
||||
|
||||
Reference in new issue
Block a user