title: EmberJS Uncaught TypeError: Object [object Object] has no method 'create'
body: <p>Trying to do some relatively basic client side setup with EmberJS with a small rails app. I have two things so far: </p>
  
  <ol>
  <li>A form to post a book for sale (not actually creating it yet)</li>
  <li>A search for books page. (Want this to be the home page as well).</li>
  </ol>
  
  <p>The first one loads fine. When i click the link in the application template, the form loads as expected.</p>
  
  <p>The second however does not. The subject error pops up when i click the link to view the search page. Here's the code i have so far: </p>
  
  <pre><code>&lt;script type="text/x-handlebars"&gt;
    &lt;div class="nav"&gt;
      {{#linkTo "index_search"}}Home{{/linkTo}}
      {{#linkTo sale_records.new}}Post a book for sale{{/linkTo}}
    &lt;/div&gt;
    &lt;div class="container"&gt;
      {{outlet}}
    &lt;/div&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>// router.js
  (function() {
    LocalBookFinder.Router.map(function() {
      this.resource("sale_records", { path: "/sale_records" }, function() {
        this.route('new');
      });
      this.route("index_search", { path: "/search" });
    });
  
    LocalBookFinder.NewSalesRecordRoute = Ember.Route.extend({
      model: function() {
        return new LocalBookFinder.SaleRecord();
      },
      setupController: function(controller, model) {
  
      }
    });
  
    LocalBookFinder.IndexSearchRoute = Ember.Route.extend({
      setupController: function(controller, model) {
  
      }
    });
  }).call(this);
  
  // controllers/search/index_search_controller.js
  (function() {
    LocalBookFinder.IndexSearchController = Ember.ObjectController.extend({
  
    });
  }).call(this);
  
  
  // views/search/index_search_view.js
  
  (function() {
    LocalBookFinder.IndexSearchView = Ember.View.create({
      templateName: "search/index"
    });
  }).call(this);
  </code></pre>
  
  <p>The link itself renders fine. But once i click it, i get the error message, and nothing renders. Any ideas?</p>