From cd4e21daf429d1f5cb89f3199efc2617d78a1638 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 11 May 2016 12:17:25 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 3abc291..87ee950 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -130,13 +130,13 @@ class Customer < ActiveRecord::Base # Push the updates def push - begin - tries ||= 3 + #begin + # tries ||= 3 Qbo.get_base(:customer).service.update(@details) - rescue Exception => e - retry unless (tries -= 1).zero? - errors.add(:details, e.message) - end + #rescue Exception => e + # retry unless (tries -= 1).zero? + # errors.add(:details, e.message) + #end end def qbo