我有一个自定义的字符串 url 数组,我将其添加到 image_tag 中,如下所示:
<%= @attachment.each do |att| %>
<div>
<%= image_tag att %>
</div>
<% end %>
图像显示正确,但我在图像下方得到以下垃圾:
["http://localhost:8090/download/attachments/884794/DSC_0006.NEF?version=1&modificationDate=1343685834627", "http://localhost:8090/download/attachments/885137/Sunflower.gif?version=1&modificationDate= 1343720588175", "http://localhost:8090/download/attachments/885140/Spiked.gif?version=1&modificationDate=1343720548736"]