title: how can i insert a variable in to a href value in a link in rails?
body: <p>i have:</p>
  
  <pre><code>  &lt;a href="/patients/#{@appointment.patient.id}"&gt;
    &lt;%=h @appointment.patient.f_name %&gt; &lt;%=h @appointment.patient.l_name%&gt;
    &lt;/a&gt;
  </code></pre>
  
  <p>but it dose not work due to a syntax error, if i click on the href it goes to <code>http://0.0.0.0:3000/patients/#{@appointment.patient.id}</code></p>
  
  <p>thanks</p>