From a760ddc7c1d2c95a63414e13383c0da951b9b192 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 24 May 2016 12:34:16 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 385dd7f..96ea08a 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -126,8 +126,8 @@ class Customer < ActiveRecord::Base end # Push the updates - def self.save_with_push - self.save_without_push + def save_with_push + save_without_push begin #tries ||= 3 @details = Qbo.get_base(:customer).service.update(@details)