I rather have a blank alt attribute if an image is missing instead of the filename of the image (who ever wants this default behavior anyway?)
Is there a way to make
Or use your own version of image helper
#ApplicationHelper def my_image_tag(source, options={}) options(:alt) = '' image_tag(source, options) end
Then use it, my_image_tag "test/test.png"
my_image_tag "test/test.png"