title: Rails - Render partial inside Twitter Bootstrap popover
body: <p>I want to use a Twitter Bootstrap popover to display a user avatar and email address, with the possibility of adding in more details at a later date.</p>
  
  <p>I am having an issue getting the partial to render inside the content field of the link. The view code is below (in HAML).</p>
  
  <pre><code>%span.comment-username
      =link_to comment.user_name, "#", "title" =&gt; comment.user_name,
        "data-content" =&gt; "=render 'users/name_popover'", 
        class: "comment-user-name"
  </code></pre>
  
  <p>Currently, this will only produce the content code as a string.</p>
  
  <p>Is there a way to do this so the partial will be inserted instead of the code as a string?</p>