title: Rails options_for_select in js.erb not being rendered
body: <p>I have a js.erb with this basic content:</p>
  
  <pre><code>$("#currencies").html("&lt;%= options_for_select([['Dollar', '$']])%&gt;");
  </code></pre>
  
  <p>And the html is not being added to the element #currencies.</p>
  
  <p>However if I do it like this:</p>
  
  <pre><code>$("#currencies").html('&lt;option value="$"&gt;Dollar&lt;/option&gt;');
  </code></pre>
  
  <p>The html is being updated.  </p>
  
  <p>What can be happening?</p>
  
  <p>For debugging purposes I have tried this:</p>
  
  <pre><code>alert("&lt;%= options_for_select([['Dollar', '$']]) %&gt;");
  </code></pre>
  
  <p>And it doesn't show anything either. </p>