image tag problem

Hi everybody

I´m using image_tag for show an image, saved in public/images folder,
but when I tried to see it in the browser only appears the code that I
wrote. If someone can help me, here is my view code

<h1>HOLA MUNDO</h1>
<%= link_to "My blog", posts_path %>
image_tag("rails.png")

Thanks a lot

Guille San wrote:

Hi everybody

I´m using image_tag for show an image, saved in public/images folder,
but when I tried to see it in the browser only appears the code that I
wrote. If someone can help me, here is my view code

<h1>HOLA MUNDO</h1>
<%= link_to "My blog", posts_path %>
image_tag("rails.png")

Thanks a lot

I´m stupid I forgot < %= %>
thanks dor your time,because I´m very stupid. Sorry :frowning: