anchor.diff:            </tr>
           </thead>
           <tbody>
  -          <% for assignment in @assignments %>
  +          <% @assignments.each do |assignment| %>
               <tr>
                 <td>
                   <%=
  
positive.code:                   id: assignment.id %>
                </td>
                <td>
                  <% days = ((((assignment.due_date - Time.zone.now)/(60 * 60 * 24)).floor).to_s) %>
                  <% hours = ((((assignment.due_date - Time.zone.now)/(60 * 60)) % 24).floor) %>
                  <% minutes = ((((assignment.due_date - Time.zone.now))/ 60).floor % 60) %>
                  <% if !assignment.section_due_dates_type %>
                    <% if assignment.due_date < Time.zone.now %>
                      <strong><%= l(assignment.due_date, format: :long_date) %></strong>
  
negative.code:                     <p>
                      <% if assignment.due_date <= Time.zone.now + 2.days %>
                        <%= t(:hours_and_minutes_left, 
                              hours: ((assignment.due_date - Time.zone.now)/(60 * 60) % 48).floor,
                              minutes: ((assignment.due_date - Time.zone.now)/ 60).floor % 60) %>
                      <% else %>
                        <%= t(:days_and_hours_left,
                              days: ((assignment.due_date - Time.zone.now)/(60 * 60 * 24)).floor,
                              hours: ((assignment.due_date - Time.zone.now)/(60 * 60) % 24).floor) %>
                      </p>
                      <% end %>
                    <% end %>
  