Find best and worst performers w.r.t. working time

This commit is contained in:
Maximilian Grundke
2018-02-20 21:25:15 +01:00
parent 06928340c9
commit 4c97faeec9
2 changed files with 57 additions and 18 deletions

View File

@ -36,6 +36,7 @@ class Exercise < ActiveRecord::Base
validates :token, presence: true, uniqueness: true
@working_time_statistics = nil
attr_reader :working_time_statistics
MAX_EXERCISE_FEEDBACKS = 20