From 16ed209cc921f0d2791168b0a4b86ff6e16c0a65 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 2 May 2016 12:19:13 -0400 Subject: [PATCH] Update qbo.rb --- app/models/qbo.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/qbo.rb b/app/models/qbo.rb index b236f8f..39bccb0 100644 --- a/app/models/qbo.rb +++ b/app/models/qbo.rb @@ -43,7 +43,7 @@ class Qbo < ActiveRecord::Base # Updates last sync time stamp def self.update_time_stamp - first.last_sync = DateTime.now - first.save + qbo = first.last_sync = DateTime.now + qbo.save end end