I would like to do following thing: when the request reaches certain
method in a controller, I want to read binary data (e.g. an image) from
database and dynamically make up a URL (without writing that out
physically), so in the view template I could reference that URL.
How can I do that in rails?
Thanks in advance.