title: can't modify frozen string
body: <p>I'm using the following code in the view which I got from</p>
  <p><a href="http://www.igvita.com/2006/10/20/adding-social-bookmarks-in-rails/" rel="nofollow noreferrer">http://www.igvita.com/2006/10/20/adding-social-bookmarks-in-rails/</a></p>
  <p><a href="http://pastie.org/455683" rel="nofollow noreferrer">This is the pastie code</a></p>
  <p>But I get the following error:</p>
  <pre><code>TypeError in Pages#show
  Showing app/views/pages/show.html.erb where line #26 raised:
  can’t modify frozen string
  Extracted source (around line #26):
  23: Twitter
  24: Facebook
  25:
  26: &lt;% current_uri = u(request.protocol &lt;&lt; request.host_with_port &lt;&lt; request.request_uri)
  27: title = u(@title)
  28:
  29: bookmarklets = {
  ============
  </code></pre>
  <p>When I replace with this</p>
  <pre><code>current_uri = u(request.protocol &lt;&lt; request.host_with_port &lt;&lt; request.request_uri)
  </code></pre>
  <p>The frozen string error is gone but the link is not parsed. i.e. the link is rendered as follows:</p>
  <pre><code>http://digg.com/submit?phase=2&amp;url={{url}}&amp;title={{url_encoded_title}}
  </code></pre>
  <p>Well, I asked at the comment of the article, but couldn't get any reply. So, I'm asking it here.</p>
  <p>Thanks</p>