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
b2e1d649ff
commit
c80e90b2d4
1 file changed
+1
-1
@@ -20,7 +20,7 @@ class Customer < ActiveRecord::Base
|
|||||||
attr_accessible :name, :skip_details
|
attr_accessible :name, :skip_details
|
||||||
validates_presence_of :id, :name
|
validates_presence_of :id, :name
|
||||||
|
|
||||||
after_initialize :get_details, unless: :skip_details
|
after_initialize :get_details
|
||||||
|
|
||||||
self.primary_key = :id
|
self.primary_key = :id
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user