title: Uncaught More context objects were passed than there are dynamic segments for the route: post
body: <p>I'm trying to follow <a href="http://www.youtube.com/watch?v=Ga99hMi7wfY#at=329">this basic Ember.js tutorial</a> but having no luck with the "posts" model. I have everything set up according to the demonstration, however I am getting the error: </p>
  
  <p><code>Uncaught More context objects were passed than there are dynamic segments for the route: post</code></p>
  
  <p>Since this is the first time I've ever worked with an Ember.js app, I honestly have no clue what this means. Any help (literally anything) would be greatly appreciated. </p>
  
  <p>Here is my App.js</p>
  
  <pre><code>App = Ember.Application.create();
  
  App.Store = DS.Store.extend({
      adapter: 'DS.FixtureAdapter'
  });
  
  App.Router.map(function () {
      this.resource('posts', function() {
          this.resource('post', { path:'post_id'})
      });
      this.resource('about');
  });
  
  App.PostsRoute = Ember.Route.extend({
      model: function () {
          return App.Post.find();
      }
  })
  
  App.Post = DS.Model.extend({
      title: DS.attr('string'),
      author: DS.attr('string'),
      intro: DS.attr('string'),
      extended: DS.attr('string'),
      publishedAt: DS.attr('date')
  });
  
  App.Post.FIXTURES = [{
          id: 1,
          title: "Rails in Omakase",
          author: "d2h",
          publishedAt: new Date('12-27-2012'),
          intro: "Blah blah blah blah",
          extended: "I have no clue what extended means"
      }, {
          id: 2,
          title: "Second post",
          author: "second author",
          publishedAt: new Date('1-27-2012'),
          intro: "second intro",
          extended: "Second extended"
      }];
  </code></pre>
  
  <p>And here is the html for the posts. </p>
  
  <pre><code>&lt;script type="text/x-handlebars" id="posts"&gt;
      &lt;div class="container-fluid"&gt;
          &lt;div class="row-fluid"&gt;
              &lt;div class="span3"&gt;
                  &lt;table class='table'&gt;
                  &lt;thead&gt;
                      &lt;tr&gt;&lt;th&gt;Recent Posts&lt;/th&gt;&lt;/tr&gt;
                  &lt;/thead&gt;
                  {{#each model}}
                  &lt;tr&gt;&lt;td&gt;
                      {{#linkTo 'post' this}}{{title}} &lt;small class='muted'&gt;by {{author}}&lt;/small&gt;{{/linkTo}}
                  &lt;/td&gt;&lt;/tr&gt;
                  {{/each}}
                  &lt;/table&gt;
              &lt;/div&gt;
              &lt;div class="span9"&gt;
                  {{outlet}}
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/script&gt;
  &lt;script type="text/x-handlebars" id="post"&gt;
      &lt;h1&gt;{{title}}&lt;/h1&gt;
      &lt;h2&gt; by {{author}} &lt;small class="muted"&gt;{{publishedAt}}&lt;/small&gt;&lt;/h2&gt;
  
      &lt;hr&gt;
  
      &lt;div class="intro"&gt;
          {{intro}}
      &lt;/div&gt;
  
      &lt;div class="below-the-fold"&gt;
          {{extended}}
      &lt;/div&gt;
  &lt;/script&gt;
  </code></pre>