How can I print out an image tag to a Rails asset in javascript?
If I have an image at /assets/images/my_image.png, the following will show an image in development, but not in a production.
$('.myImage').html('<img src="/assets/images/my_image.png">');
config.serve_static_assetsin prod.rbconfig.serve_static_assets = false... so that sounds like a good thing to change. Does that hurt something else? guides.rubyonrails.org/configuring.html