title: Create Ember View from a jQuery object
body: <p>I'm looking into integrating Ember with an existing Rails application, to take advantage of Ember's bindings, events (didInsertElement, etc.) ... </p>
  
  <p>Now I don't want to transfer my erb views to handlebars, but instead I want to create Ember View objects and attach them to various elements already in the DOM. For example, I might have</p>
  
  <pre><code>&lt;html&gt;
    &lt;body&gt;
      &lt;div class="header"&gt;
  
      &lt;/div&gt;
  
      &lt;div class="content"&gt;
  
      &lt;/div&gt;
  
      &lt;div class="footer"&gt;
  
      &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and (on DOM ready) create a View for each element:</p>
  
  <pre><code>App.HeaderView = Ember.View.create({
     // capture $('.header') to this
     // console.log(this.$().attr('class')) should then output `header`
  });
  </code></pre>