title: event.context not set by {{action ...}} when using {{#each ...} (undefined)
body: <p>I'm trying out Ember.js for the first time by roughly following the Ember.js guide, but I'm running into the following problem.</p>
  
  <p>Relevant code:
  <a href="https://gist.github.com/3257657" rel="nofollow noreferrer">https://gist.github.com/3257657</a> (for complete rails app, see: <a href="https://github.com/basveeling/ember-test" rel="nofollow noreferrer">https://github.com/basveeling/ember-test</a>)</p>
  
  <p>Context:
  I'm running the latest ember-rails build with the 1.0 prerelease ember.js. I'm using ember-data for the post model.</p>
  
  <p>Almost everything works in this app, except that the hrefs created by <code>{{action showPost context="post" href=true}}</code> have an undefined id (<code>#/posts/undefined</code>).
  Furthermore, the jQuery event passed to the <code>showPost</code> action doesn't have a context property (it does have a view property).</p>
  
  <p>Am I going at this the wrong way, or have I perhaps stumbled on a bug in the prerelease?</p>
  
  <p>edit: this might be related to <a href="https://stackoverflow.com/questions/11807742/url-contains-undefined-instead-of-id-after-navigating-back-from-edit-to-sho">Url contains &#39;undefined&#39; instead of id after navigating back from &#39;edit&#39; to &#39;show&#39;</a></p>