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
Try with this, you need to add unless condition in your code. You need to add below code
<%= image_tag article.image_url(:thumb) unless article.image.blank? %>