I have answers associated with questions, but after creating a new question, it should have 0 answers.
In this chunk of code
<% @question.answers.each do |ans| %>
<div class="container">
<div class="row-fluid">
</p>
<p>
<%= ans.answer %>
</p>
<h5><em>
<%= ans.commenter %> posted
<%= link_to "Answer comments", [@question,ans] %>
</em></h5>
</div>
</div>
<% end %>
Even after newly creating a question, a non-existent answer without an answer field appears on the view, and there's a link to question/1/answers (obviously answers isn't a valid path). Is there a reason for this?