title: Ember CLI - Fixture data not displaying
body: <p>I am following this guide <a href="http://emberjs.com/guides/models/the-fixture-adapter/" rel="nofollow">http://emberjs.com/guides/models/the-fixture-adapter/</a></p>
  
  <p>I am simply trying to display a list of my fixture data in the personalities resource route. What am I doing wrong?</p>
  
  <p>The browser console error is:</p>
  
  <blockquote>
    <p>Error while processing route: personality.index attr is not defined ReferenceError: attr is not defined</p>
  </blockquote>
  
  <hr>
  
  <p>As soon as I try to obtain the model in my route, the the template no longer renders. </p>
  
  <p>routes/personalities.coffee</p>
  
  <pre><code>`import Ember from 'ember'`
  
  PersonalitiesRoute = Ember.Route.extend
    model: -&gt;
      this.get(store).find('personality')
  
  `export default PersonalitiesRoute`
  </code></pre>
  
  <p>The above is the portion of code that breaks the app (compiles, but displays nothing). What am I doing wrong? </p>
  
  <p>I have my adapter, template, and model as follows</p>
  
  <p>I made sure to use a fixture adapter
  adapters/application.coffee</p>
  
  <pre><code>`import DS from 'ember-data'`
  
  ApplicationAdapter = DS.FixtureAdapter.extend()    
  
  `export default ApplicationAdapter`
  </code></pre>
  
  <p>adapters/personalities.coffee</p>
  
  <pre><code>`import ApplicationAdapter from './application'`
  
  PersonalitiesAdapter = ApplicationAdapter.extend()
      #I also tried... = DS.FixtureAdapter.extend()
      #I also tried getting rid of PersonalitiesAdapter
      #I also tried PersonalityAdapter (singular, since that matches the model, which is singular)
  
  `export default PersonalitiesAdapter`
  </code></pre>
  
  <p>I tried using various settings I could think of for the personalities adapter as well, to no avail. </p>
  
  <p>models/personality.coffee</p>
  
  <pre><code>`import DS from 'ember-data'`
  
  Personality = DS.Model.extend
    id:           attr('number')
    type:         attr('string')
    socType:      attr('string')
  
  Personality.reopenClass
    FIXTURES: [
      { id: 1,  type: 'entp', socType: 'NLE' }
      { id: 2,  type: 'isfp', socType: 'SFI' }
      { id: 3,  type: 'esfj', socType: 'ESE' }
      { id: 4,  type: 'intj', socType: 'LII' }
      { id: 5,  type: 'enfj', socType: 'EIE' }
      { id: 6,  type: 'istj', socType: 'LSI' }
      { id: 7,  type: 'estp', socType: 'SLE' }
      { id: 8,  type: 'infp', socType: 'IEI' }
      { id: 9,  type: 'esfp', socType: 'SEE' }
      { id: 10, type: 'intp', socType: 'ILI' }  
      { id: 11, type: 'entj', socType: 'LIE' }
      { id: 12, type: 'isfj', socType: 'ESI' }
      { id: 13, type: 'estj', socType: 'LSE' }
      { id: 14, type: 'infj', socType: 'FII' }
      { id: 15, type: 'enfp', socType: 'NEE' }
      { id: 16, type: 'istp', socType: 'SLI' }
    ]
  
  `export default Personality`
  </code></pre>
  
  <p>templates/personalities.emblem</p>
  
  <pre><code>= each item in model
    = item.id
    = item.type
    = item.socType
    = item.description
  </code></pre>