In my app, i’m storing the name of images in the database, and keeping
the images in the /images folder. The index.html.erb for my view uses
an image tag:
<td><div class="icon"/><img src=<%=h reagent.icon %>/></div></td>
which shows up correctly. attempting to show the same icon in the
show.html.erb doesn’t show the image. adding a border to it shows a
line about the size of a ‘pipe command’ and then the name.
Icon: border=1/> <%=h @reagent.icon %>
i’ve been trying different formats for the last 3 hours with no success.
is there a difference in the references for the two files? or is the
icon just being squashed somehow? I’m using firefox2 on ubuntu 7.10 if