<commit_before><h1><%= @question.title %></h1>

  <%= @question.content %>
<div class='question-asker'>
  <%= @question.asker.username %>
  <%= @question.created_at %>
</div>
  <%= link_to 'Edit', edit_question_path(@question)  %>
  <%= link_to 'Delete', @question, method: :delete, data: { confirm: "Are you sure about this, #{@question.asker.username}?" }  %>

<div class="question-answers">

<% @question.answers.each do |answer| %>
  <%=render :template => 'answers/show', locals: {answer: answer} %>
  <%end%>
</div>

<div class="answer-question">
  <p>Answer This Question:</p>
<%= render partial: '/answers/new', controller: 'answers', action: 'new', locals: {:question_id => @question.id} %>
</div>

<p><%= link_to 'Comment on Question', {:controller => "question_comments", :action => "new", :question_id => @question.id}%></p>

<div class="back">
<p><%=link_to 'Back to Index', index_path  %></p>
</div><commit_msg>add show comments to question view<commit_after><h1>
  <%= @question.title %>
</h1>
  <p>
    <%= @question.asker.username %> asked,
  </p>
    <div class="question">
      <%= @question.content %>
    </div>

    <div class='question-asker'>
      <%= @question.created_at %>
    </div>

      <%= link_to 'Edit', edit_question_path(@question)  %>
      <%= link_to 'Delete', @question, method: :delete, data: { confirm: "Are you sure about this, #{@question.asker.username}?" }  %>

    <div class="question-answers">
      <% @question.answers.each do |answer| %>
      <%=render :template => 'answers/show', locals: {answer: answer} %>
        <% answer.comments.each do |com| %>
        <div class="answer-comments">
          <p><%= com.author.username %> commented,</p>
          <p><%= com.content %></p>
        </div>
          <% end %>
      <%end%>
    </div>

    <div class="answer-question">
      <p>
        Answer This Question:
      </p>
        <%= render partial: '/answers/new', controller: 'answers', action: 'new', locals: {:question_id => @question.id} %>
    </div>

    <p>
     <%= link_to 'Comment on Question', {:controller => "question_comments", :action => "new", :question_id => @question.id}%></p>

  <div class="back">
    <p>
      <%=link_to 'Back to Index', index_path  %>
    </p>
  </div>
{'fraction_non_alphanumeric': 0.21862527716186253, 'fraction_numerical': 0.0017738359201773836, 'mean_word_length': 3.3805825242718446, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7550216', 'n_tokens_mistral': 836, 'n_tokens_neox': 767, 'n_words': 174}