quick fix

This commit is contained in:
Thomas Hille
2017-02-26 16:40:15 +01:00
parent 5bbc124097
commit 1d75af51d2

View File

@ -89,7 +89,7 @@ class ProxyExercise < ActiveRecord::Base
end
best_matching_exercise = relative_knowledge_improvement.max_by{|k,v| v}.first
Rails.logger.info("current users knowledge loss: " + current_users_knowledge_lack.map{|k,v| "#{k} => #{v}"})
Rails.logger.info("current users knowledge loss: " + current_users_knowledge_lack.map{|k,v| "#{k} => #{v}"}.to_s)
Rails.logger.info("relative improvements #{relative_knowledge_improvement.map{|k,v| k.id.to_s + ':' + v.to_s}}")
best_matching_exercise
end