I have a rails 3 helper function. This function simply takes an array of ojects and return images based on the url in each object. For some reason, I cannot seem to print the images...I just get back the array.
for example:
def my_helper(items)
items.each do |item|
image_tag(item)
end
end
this returns the array. I've tried assigning to a variable and outputting, but no luck. I've seen where people say just use item.join('<br/>') but I didn't get that to work.
Help appreicated