images in db

Cornelius Jaeger cjlists at visualfood.ch
Mon Feb 2 18:58:41 EST 2009


hi all

just working on my first camping hack and new to ruby as well.
i've figured some things out and uploading images into the database,  
but i'm not sure how to get the data displayed in the browser.
i'd like to stream it straight from the db, not copy it to the fs first.
obviously img(:src => file_data) doesn't work.
any pointers or reading assignments would be v. welcome.
many thanks

cornelius


More information about the Camping-list mailing list