title: Ember.js not displaying errors
body: <p>I'm working on an Ember app using Ember Data and a Rails REST API. I can't seem to get errors to display.</p>
  
  <p>I have a template that looks like this:</p>
  
  <pre><code>{{#each errors.messages}}
    &lt;div class="error"&gt;
      {{message}}
    &lt;/div&gt;
  {{/each}}
  
  &lt;form {{action 'signUp' on='submit'}}&gt;
    &lt;div class='form-group'&gt;
      {{#each errors.email}}
        &lt;div class="error"&gt;
          {{message}}
        &lt;/div&gt;
      {{/each}}
      {{input value=email class='form-control input-lg' placeholder='Email' id='email'}}
    &lt;/div&gt;
  
    &lt;div class='form-group'&gt;
      {{#each errors.password}}
        &lt;div class="error"&gt;
          {{message}}
        &lt;/div&gt;
      {{/each}}
      {{input value=password class='form-control input-lg' type='password' placeholder='Password'}}
    &lt;/div&gt;
  
    &lt;button type='submit' class='btn btn-danger btn-block btn-lg'&gt;Sign up&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Its controller looks like this:</p>
  
  <pre><code>export default Ember.ObjectController.extend({
    actions: {
      signUp: function() {
        var controller = this;
        var model = this.get('model');
  
        model.save().then(function() {
          controller.transitionToRoute('landing');
        }).catch(function() {
          // errors should just display on the page
        });
      }
    }
  });
  </code></pre>
  
  <p>And the route looks like this:</p>
  
  <pre><code>export default Ember.Route.extend({
    model: function() {
      return this.store.createRecord('user');
    }
  });
  </code></pre>
  
  <p>I submit the form without entering data, and the server response is:</p>
  
  <pre><code>{"errors":{"email":["can't be blank"],"password":["can't be blank"]}}
  </code></pre>
  
  <p>But the errors don't show up on the page.</p>
  
  <p>I've gotten errors to work with Ember Data before, and I've also seen someone else run into this problem and never been able to figure out why. I'd be very grateful if anybody could help me figure out why the errors won't display.</p>
  
  <p>Thanks!</p>