Skip to content

Commit

Permalink
Whoops - left some debugging code in.
Browse files Browse the repository at this point in the history
  • Loading branch information
rnhurt committed Jan 15, 2010
1 parent 2fb9045 commit aa4106c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/evaluation_helper.rb
Expand Up @@ -106,8 +106,7 @@ def grades_body
@course_term.students.sort_by{|s| s.last_name}.each_with_index do |student, index| @course_term.students.sort_by{|s| s.last_name}.each_with_index do |student, index|
# Calculate the students grade. # Calculate the students grade.
# OPTIMIZE: I think this is an expensive operation # OPTIMIZE: I think this is an expensive operation
#grade = @course_term.calculate_grade(student.id) grade = @course_term.calculate_grade(student.id)
grade = {:letter => 'ZZ', :score => 0}


# Set up the row for this student # Set up the row for this student
body << "<tr class='calc #{cycle('odd','even')}' id='#{student.id}'>" body << "<tr class='calc #{cycle('odd','even')}' id='#{student.id}'>"
Expand Down

0 comments on commit aa4106c

Please sign in to comment.