From fec454f43ea4522f8b15c34d5d9cb52786dd2ffb Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 24 May 2016 12:01:27 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 2352ff3..b1aa09c 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -129,7 +129,7 @@ class Customer < ActiveRecord::Base end # Push the updates - def save_with_push + def self.save_with_push save_without_push begin #tries ||= 3