I have just upgraded to Rails 5 and I have a weird issue while trying to show an image.
I have the exact code I had for Rails 4:
<%= image_tag article
I don't know this is compact solution or not but this code will work.
activate the fallback method in your uploader.
def default_url "/assets/fallback/" + [version_name, "default.png"].compact.join('_') end
Hope this will help you.
Cheers (y)