From 69d047e687ee62dbd1664d7a03718f2041f87136 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 17 May 2016 13:11:37 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/customer.rb b/app/models/customer.rb index 6d8961f..f72154a 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -116,6 +116,7 @@ class Customer < ActiveRecord::Base qbo_customer = Customer.find_or_create_by(id: customer.id) qbo_customer.name = customer.display_name qbo_customer.id = customer.id + qbo_customer.save end end end