I am working on a project that is using Paperclip to upload multiple
images to an Asset model. my Post model has_many Assets. As per this
This all works fine and I can add/delete multiple images to a post
perfectly. I can also
display multiple images for each post in the show view using this
<% for asset in @post.assets %>
<%= link_to image_tag(asset.asset.url(:thumb)),
<% end %>
What I want to be able to do is display 1 or more images for each of the
records in index.html but I can't make that code work in index ...
anyone got any any idea how I can do this?
Cheers for any help!