<table class="table table-responsive table-striped">
  <tr>
    <th>Action</th>
    <th>By</th>
    <th>At</th>
    <th>Details</th>
  </tr>
  <% @reservation.versions.each do |version| %>
    <tr>
      <td><%= version.event %></td>
      <td><%= "#{User.find(version.whodunnit).name} (#{User.find(version.whodunnit).email})" unless version.whodunnit.nil? %></td>
      <td><%= nice_time version.created_at %></td>
      <td>
        <ul class="no-margin no-padding">
          <% version.changeset.each do |name, change| %>
            <%= raw("<li>#{nice_changeset(name, change)}</li>") %>
          <% end %>
        </ul>
      </td>
    </tr>
  <% end %>
</table>

<table class="table table-responsive table-striped">
  <tr>
    <th>Action</th>
    <th>By</th>
    <th>At</th>
    <th>Details</th>
  </tr>
  <% @reservation.versions.each do |version| %>
    <tr>
      <td><%= version.event %></td>
      <td><%= "#{User.find(version.whodunnit).name} (#{User.find(version.whodunnit).email})" unless version.whodunnit.nil? or User.find_by_id(version.whodunnit).nil? %></td>
      <td><%= nice_time version.created_at %></td>
      <td>
        <ul class="no-margin no-padding">
          <% version.changeset.each do |name, change| %>
            <%= raw("<li>#{nice_changeset(name, change)}</li>") %>
          <% end %>
        </ul>
      </td>
    </tr>
  <% end %>
</table>

Fix reservation version containing a reference to a removed user display issue
Fix reservation version containing a reference to a removed user display issue
