Hi, When I use image_tag() or stylesheet_link_tag() in a view, I get (since the 1.6 update) a rendered piece of HTML, that is something like this:
For:
-----RAILS ACTION VIEW----- <%=stylesheet_link_tag "rix" %>
Hi, When I use image_tag() or stylesheet_link_tag() in a view, I get (since the 1.6 update) a rendered piece of HTML, that is something like this:
For:
-----RAILS ACTION VIEW----- <%=stylesheet_link_tag "rix" %>
I already solved it, by just writing the image_tag as <img src="" />.
but this may be a bug in rails, or did I just not configure my caching alright?
When I restart my rails app. There is no problem. If I look at the source there is a string after the src of the image, but not very big. When I look 300 visits later, the page is corrupted. It shows the avatars of people in a list, and the source is like this. Every image tag has one more question mark.
Like this, sorry for the uggly code :S, just to demonstrate.
<img alt="standardavatar" src="/images/standardavatar.gif?1156107776???" style="width:50px;height:50px;" /> <img alt="standardavatar" src="/images/standardavatar.gif?1156107776???" style="width:50px;height:50px;" />
Jaap van der Meer
I am so sorry, did'nt know, the string was soo big. No wonder everyone's browser is crashing with 50 avatars a page. Sorry!