Search Results

Search found 1 results on 1 pages for 'christophercotton'.

Page 1/1 | 1 

  • How to stop auto encoding of <%= strings %> with Rails 3.0beta

    - by christophercotton
    I'm using rails 3.0beta3. In my index.html.erb and in my index.js.erb, if I have: <%= "string with unsafe characters' like <" %> It will automatically be encoded to: string with unsafe characters&quot; like &amp; just the same as if I had used: <%=h "string with unsafe characters' like <" %> How do I get it to stop? I have stored some short bits of JavaScript that I need to insert into the template without it automatically encoding the string?

    Read the article

1