lib/rails-footnotes/notes/queries_note.rb in rails3-footnotes-4.0.0.pre.4 vs lib/rails-footnotes/notes/queries_note.rb in rails3-footnotes-4.0.0.pre.5
- old
+ new
@@ -48,9 +48,10 @@
#queries_debug_info p {background-color:#F3F3FF; border:1px solid #CCC; margin:12px; padding:4px 6px;}
#queries_debug_info a:hover {text-decoration:underline;}
STYLESHEET
end
+ # FIXME (andre 2011-04-04) This should look like the old query log, preferably with links to trace the queries.
def content
html = ''
@@query_subscriber.events.each_with_index do |item, i|
html << <<-HTML