title: Coffeescript Promise with Jquery Post
body: <p>I've got an emberjs controller responsible for sending a user registration form to my server. This for the most part works fine, but I'm trying to utilize promises so I can do some error checking, redirects, etc.</p>
  
  <pre><code>sendRegistration: () -&gt;
    $.post('/api/v1/users', 
      user:
        email: @email,
        password: @password,
        password_confirmation: @passwordConfirmation
      ).then (response) -&gt;
        alert('Hi!')
  </code></pre>
  
  <p>This works more or less correctly, as the post gets send to the server, and the server responds with an appropriate status code, but the then is never executed, presumably because the result of the post is returned. Is there something I'm missing with my coffeescript?</p>