title: link_to with embedded ruby in the data-toggle
body: <p>I'm following <a href="https://stackoverflow.com/questions/15152486/how-to-add-bootstrap-modal-with-link-to-so-the-link-content-open-in-modal">this</a> SE question to put a form in a bootstrap modal with rails. 
  The person who answered the question states: "Make sure that you have a unique id or class for every modal body.".  So I am trying to put a unique id number in my link_to:</p>
  
  <pre><code>&lt;%= link_to "Edit", edit_post_path(post.id), :class =&gt; "btn", :remote =&gt; true, "data-toggle" =&gt; "modal", "data-target" =&gt; "&lt;%= post.id %&gt;-my-modal" %&gt;
  </code></pre>
  
  <p>But this is causing an error.  If I take out &lt;%= post.id %> I do not have an error, but the modal behavior does not work. </p>
  
  <p>How can I add the post.id with embedded ruby to the link to? </p>