From 6642017f23c1448dafe3c461336019f1a4635830 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 2 May 2015 14:23:04 +0200 Subject: [PATCH] Added debug messages to get more details about issue on ci env. --- app/models/application_model.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/models/application_model.rb b/app/models/application_model.rb index f7ea1325b..4c02d8ea1 100644 --- a/app/models/application_model.rb +++ b/app/models/application_model.rb @@ -494,7 +494,7 @@ returns def self.latest_change key = "#{self.new.class.name}_latest_change" updated_at = Cache.get( key ) - +puts "LOG AA #{key}/#{updated_at}" # if we do not have it cached, do lookup if !updated_at o = self.select(:updated_at).order(updated_at: :desc).limit(1).first @@ -502,7 +502,10 @@ returns updated_at = o.updated_at self.latest_change_set(updated_at) end + puts "LOG AA Lookup #{key}/#{updated_at}" + end + puts "LOG AA RETURN #{key}/#{updated_at}" updated_at end