What does the [@post, Comment.new] construction literally mean? I'm using it (saw in a podcast, or somewhere else) but I still don't quite understand what does it mean? What literally happens if we hit Submit button (sure, the comment is added, but I'm interesting about the inner mechanics and how is it connected with mentioned construction)?
<% form_for [@post,Comment.new] do |f| %>
<p>
<%= f.label :message %><br />
<%= f.text_area :message %>
</p>
<p>
<%= f.submit 'Post comment' %>
</p>
<% end %>