On Sep 1, 2007, at 5:41 AM, Joey Geiger wrote:

> Now, I'm opening a different can of worms, but how do you suggest
> sending an image file from the database without using send_data, or
> does send_data not suffer from the same issues as send_file?
>
> I tried using X-Sendfile and ran into issues that files weren't being
> pulled out of the DB correctly. (Probably should be able to fix this
> now, after I figured it out)


        You should never store files in the database in the first place.  
send_data has the same leaky problem as send_file. The filesystem is  
a database for files already and is much more efficient at storing  
files then using the database for it.

Cheers-
-- Ezra Zygmuntowicz 
-- Founder & Ruby Hacker
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)


_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to