Update customer.rb

This commit is contained in:
2016-04-29 08:34:02 -04:00
parent ab6851ff2b
commit 9750ef2f3b

View File

@@ -109,8 +109,10 @@ class Customer < ActiveRecord::Base
def get_details
Thread.new {
if self.id
mutex.synchronize do
@details = get_customer(self.id)
end
end
}
end