lazyload-rails
lazyload-rails copied to clipboard
use image_url instead of static image name for asset pipeline to work
If you're using Rails' asset pipeline to generate the empty image, you need to use the image_url method so that it appends the hash to it, otherwise Rails won't find the file after asset compilation.