how can i tell ruby to use the html string

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2011-01-13T19:49:37Z Indexed on 2011/01/13 19:53 UTC
Read the original article Hit count: 441

i have this

"<img src='#{picture.url(:tiny)}'>"

which prints to this

 &lt;img src='/system/pictures/2/tiny/Womacdsf.jpg?1294942797'&gt;, &lt;img src='/system/pictures/3/tiny/Womacdsf_3017.jpg?1294942797'&gt;, &lt;img src='/system/pictures/4/tiny/Womacdsf_8012.jpg?1294942797'&gt;, … (8)

as you can see this is doing the &lt; and &gt; instead of the < and >

how can i tell ruby this is not what i want

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby