GridFS: The MongoDB Storage for Large Files
A quick intro from John Nunemaker on GridFS, the MongoDB storage for large files:
The good news is that the API for storing files in GridFS using Ruby is nearly identical to using Ruby’s File class. Unfortunately, that is also the bad news, in my opinion, as I find Ruby’s File open, read and close a bit awkward.
Also make sure you are checking GridFS libraries for more cool projects.
via: http://railstips.org/2009/12/23/getting-a-grip-on-gridfs