Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

the time is already in milliseconds so don't divide by 1000.0

  • Loading branch information...
commit 0ab3a1b0800c19c9f205caa8e5ea94150f30ca18 1 parent c66776d
Kevin Krauss authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rails-footnotes/notes/queries_note.rb
View
2  lib/rails-footnotes/notes/queries_note.rb
@@ -41,7 +41,7 @@ def content
html << <<-HTML
<b id="qtitle_#{index}">#{escape(event.type.to_s.upcase)}</b> (#{sql_links.join(' | ')})<br />
<span id="sql_#{index}">#{print_query(event.payload[:sql])}</span><br />
- #{print_name_and_time(event.payload[:name], event.duration / 1000.0)}&nbsp;
+ #{print_name_and_time(event.payload[:name], event.duration)}&nbsp;
<p id="qtrace_#{index}" style="display:none;">#{parse_trace(event.trace)}</p><br />
HTML
end
Please sign in to comment.
Something went wrong with that request. Please try again.