So this should be pretty easy, yet I can\'t get it work.
I have a controller method that finds an image based on a query, then the output gets cached. The image coul
What version of Rails? For Rails 3, you should look at the streaming methods that were added. send_data would be the proper way of sending binary data. If the images are local, and your web server supports it, you can use send_file which won't block a rails instance while the user downloads an image.