span class="hljs-attribute">name</span>: <span class="hljs-string">'Saint John'</span>).<span class="hljs-keyword">then</span> (updated_user) -&gt;
    alert updated_user

  User.destroy(<span class="hljs-number">15</span>).<span class="hljs-keyword">then</span> (resp) -&gt;
    alert resp.success</code></pre></div></div><div class="code"><div class="wrapper">  <span class="hljs-attribute">update</span>: <span class="hljs-function"><span class="hljs-params">(params)</span> -&gt;</span>
    <span class="hljs