Sha256: 17954717bfbfb30d00a6f3725c13288e12f71704d4445ef341fe644d80d85218

Contents?: true

Size: 474 Bytes

Versions: 1

Compression:

Stored size: 474 Bytes

Contents

  <% @exception2dbs.each do |exception2db| 
        @doc = REXML::Document.new(exception2db.exception) %>
      <h2>
        <%= exception2db.created_at.strftime('%B %d, %Y %I:%M:%S %p') %>
        <%= link_to REXML::XPath.first(@doc, 
          '//notice/error/message/text()'), 
          "/exception2db/#{exception2db.id}" %>
      </h2>
  <% end %>

  <% if @exception2dbs.blank? %>
    <h2>So far no exceptions. </h2>
  <% end %>  

<%= will_paginate @exception2dbs %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception2db-0.0.1 app/views/exception2db/main/index.html.erb