Variables in views

I’m trying to build some links from this statement <% for task in
row_tasks %> where task.name and task.name.thumb are full path image
file
names and not having any luck
I’ve been trying to link to the image from the thumb I’ve tried with
helpers and basic html something like this … <a href =
“#{@image_path}”

<%= image_tag("#{@thumb_path}") %> and i’ve tried the same with
link_to image_tag How am i gonna do this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs