title: Rails 3.1 Post/Comment model for blog -- How to submit comments via ajax?
body: <p>I'm trying to learn about using remote forms and using the example of an app where the Post model has_many Comments. </p>
  
  <p>Assuming i have used the generic rails scaffolding to create/setup the post/comment model, controllers, default views, routes, etc, -- what should my <code>app/views/posts/show.html</code> look like?</p>
  
  <p>Specific i am confused about:</p>
  
  <ol>
  <li>Where should the comment form post to?</li>
  <li>What parameters should be included?</li>
  <li>Do i NEED to use a hidden attribute such as <code>f.hidden_field :post_id, :value =&gt; @post.id</code> </li>
  </ol>
  
  <p>Thank you!</p>