Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whoops - left some debugging code in.

  • Loading branch information...
commit aa4106c7580c51cf1c8c20d0614bec9619ef032a 1 parent 2fb9045
@rnhurt authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  app/helpers/evaluation_helper.rb
View
3  app/helpers/evaluation_helper.rb
@@ -106,8 +106,7 @@ def grades_body
@course_term.students.sort_by{|s| s.last_name}.each_with_index do |student, index|
# Calculate the students grade.
# OPTIMIZE: I think this is an expensive operation
- #grade = @course_term.calculate_grade(student.id)
- grade = {:letter => 'ZZ', :score => 0}
+ grade = @course_term.calculate_grade(student.id)
# Set up the row for this student
body << "<tr class='calc #{cycle('odd','even')}' id='#{student.id}'>"
Please sign in to comment.
Something went wrong with that request. Please try again.