I would like to call an image to be displayed based on its title. It is
easy enough for me to do this like this:
But I want to stick within the ruby code and I’m trying this:
<%= image_tag("/images/suggested/<%= suggested.title %>", size=>
but its not working.
Anything i’m missing? Any better alternatives?