code: function(view) {
      Ember.deprecate("Something you did caused a view to re-render after it rendered but before it was inserted into the DOM. Because this is avoidable and the cause of significant performance issues in applications, this behavior is deprecated. If you want to use the debugger to find out what caused this, you can set ENV.RAISE_ON_DEPRECATION to true.");
  
      view._notifyWillRerender();
  
      view.clearRenderedChildren();
      view.renderToBuffer(view.buffer, 'replaceWith');
    }
docs: when a view is rendered in a buffer, rerendering it simply replaces the existing buffer with a new one