title: Ember-Model: The correct way to define the model class in Ember-CLI?
body: <p><strong>My specific error message is this:</strong></p>
  
  <p><code>Error while processing route: debtor.index Ember.Adapter must implement find</code></p>
  
  <p><strong>Here is the model that I have defined:</strong></p>
  
  <pre><code>var attr = Ember.attr, hasMany = Ember.hasMany;
  
  export default Ember.Model.extend({
      debtor_id:                  attr(),
      debtor_full_name:           attr(),
      debtor_next_contact_date:   attr(),
      debtor_street1:             attr(),
      debtor_street2:             attr(),
      debtor_city:                attr(),
      debtor_state:               attr(),
      debtor_postal_code:         attr(),
      debtor_country_name:        attr(),
      debtor_tax_id:              attr(),
      debtor_date_of_birth:       attr(),
      debtor_email:               attr(),
      debtor_balance:             attr()
  });
  
  this.adapter = Ember.RESTAdapter.create();
  this.url = 'api/rest/debtor'
  this.rootKey = 'data';
  this.collectionKey = 'debtors';
  this.primaryKey = 'debtor_id';
  </code></pre>
  
  <p><strong>Here is the Route for debtor:</strong></p>
  
  <pre><code>import Debtor from '../models/debtor';
  export default Ember.Route.extend({
      model: function(params) {
          return Debtor.find(params.debtor_id);
      }
  });
  </code></pre>
  
  <p><strong>My question:</strong> is using <code>this</code> the correct way to define those properties inside of the model <em>(considering Ember-CLI syntax)</em>? Is there something else that I am missing that could be causing this error?</p>