Using active storage to store images which are working fine.
Issue I face is that when I image_tag image it shows # instead of image.
Here is the code products.rb
has_many_attached :photos
in active_admin
row "Images" do |p|
p.photos.attachments.each do |photo|
image_tag photo
end
end
it not displaying images. it check with byebug also the url is fine but images not display and it shows this
only this one works
row "Images" do |p|
image_tag p.photos.attachments.last
end
