title: raw vs. html_safe vs. h to unescape html
body: <p>Suppose I have the following string </p>
  
  <pre><code>@x = "&lt;a href='#'&gt;Turn me into a link&lt;/a&gt;"
  </code></pre>
  
  <p>In my view, I want a link to be displayed. That is, I don't want everything in @x to be unescaped and displayed as a string. What's the difference between using</p>
  
  <pre><code>&lt;%= raw @x %&gt;
  &lt;%= h @x %&gt;
  &lt;%= @x.html_safe %&gt;
  </code></pre>
  
  <p>?</p>