<%= form_for :answer , url: {action: "create"} do |f| %>
  Body: <%= f.text_field :body %><br>
  <%= f.submit "Submit" %>
<% end %>
<%= form_for [question, answer] do |f| %>
  Body: <%= f.text_field :body %><br>
  <%= f.hidden_field :user_id, value: 1 %>
  <%= f.submit "Submit" %>
<% end %>
Fix form_for to take nested question/answer.
Fix form_for to take nested question/answer.
