Displaying 3 results from an estimated 3 matches for "thepic".
Did you mean:
thepc
2006 Jun 30
0
Caching & Attachments
I''m noticing a different behavior between development and production
environments when I use caches_action along with send_data.
I have a method:
def image
@thePic = Picture.find(params[:id])
send_data(@thePic.image.data, :filename => @thePic.image.filename,
:type => @thePic.image.content_type, :disposition => "attachment")
end
Which works fine; it returns an image as expected, which is downloaded
by the browser. When I add a decla...
2006 Jun 28
2
Streaming from Database
I need to store rather large data in the database using blobs. I''ve been
working with Rails and have designed a proof-of-concept setup that works
pretty well, except there''s a considerable performance hit with very
large files due to the fact that ActiveRecord loads the entire blob into
memory before the data can get passed to send_data.
I know at least one person is going
2004 Dec 02
16
How about a mascot for R?
R users,
How come R doesn't have a mascot? Linux has one and so does LaTeX, so shouldn't R? I personally think that associating a "friendly face" with R would be a good thing for R (one letter names can be quite intimidating).
I apologize if this is addressed in the FAQ. I searched the FAQ as well as the mailing list archives and checked
?mascot
but to no avail. ;-)