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)