title: Iterating through models for a select field with Rivet.js & Coffeescript
body: <p>I'm attempting to populate a select field with options using bootstrapped data.  I'm encountering an issue when binding my array of models to the jQuery select object... </p>
  
  <p><strong>The HTML</strong></p>
  
  <pre><code>&lt;select data-each-project="projects" id="project-selection"&gt;
      &lt;option data-value="project:description"&gt;&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p><strong>The Binding</strong></p>
  
  <pre><code>project_array = new Array()
  
  _.each projects, (project) -&gt;
      projects_array.push project
  
  rivets.bind @el.select, projects:projects_array
  </code></pre>
  
  <p><strong>The Result</strong></p>
  
  <p>I receive an error indicating that the object has no .on method -> which it doesn't because it is an array of models not a model it self...</p>
  
  <p>How should this really be done? Thanks!</p>