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