mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update customer.rb
This commit is contained in:
@@ -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