fixed percentage method to reflect the new normalized_score method
This commit is contained in:
@ -46,7 +46,7 @@ class Submission < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def percentage
|
def percentage
|
||||||
(normalized_score * 100).round if score
|
(normalized_score * 100).round
|
||||||
end
|
end
|
||||||
|
|
||||||
[:score, :stop].each do |action|
|
[:score, :stop].each do |action|
|
||||||
|
Reference in New Issue
Block a user