enable ragel parser for comments, add additional sql diagnostic queries

This commit is contained in:
Albert Yi
2016-12-09 14:59:33 -08:00
parent 2af622e7a7
commit aef31d8d9b
2 changed files with 64 additions and 1 deletions

View File

@@ -14,7 +14,7 @@
</div>
<div class="content">
<div class="body prose">
<%= format_text(comment.body) %>
<%= format_text(comment.body, :ragel => true) %>
<% if comment.updated_at - comment.created_at > 5.minutes %>
<p class="info">Updated by <%= link_to_user comment.updater %> <%= time_ago_in_words_tagged(comment.updated_at) %></p>