I have a Rails 3 project that does file upload/download, with access rights (User has many Files, and can only read/write his own files).
Does GridFS have an upsert? For example, if i wan开发者_高级运维t to save an image with a specified _id, and one with that same _id already exists, i want it to overwrite (update) it. Otherwise, inse
I develop a new website and I want to use GridFS as storage for all user uploads, because it offers a lot of advantages compared to a normal filesystem storage.
I had uploaded images to 开发者_如何学运维mongoDB using GridFS. I want to retrieve an image from the db and display it in the browser. How to do this with the help of Sinatra and HAML.This Sinatra app
i am currently developing a rails3 app with mongomapper and file storage in gridfs. after some trying around, i found grip and currently also use it in the app for storing the data. so far, so good -