mongoid-grid_fs icon indicating copy to clipboard operation
mongoid-grid_fs copied to clipboard

A pure Mongoid/Moped implementation of the MongoDB GridFS specification.

Results 11 mongoid-grid_fs issues
Sort by recently updated
recently updated
newest added

I have already opened the issue https://github.com/carrierwaveuploader/carrierwave-mongoid/issues/205 where I explain that when deleting a model which has a mounter using the `:grid_fs` storage engine, the `GridFs::File` is well destroyed, but...

I want to find multiple files with given conditions, but "where" method is not public-accessible.

In some cases mongodb query planner does not use filename index and scans by uploadDate which much slower. Using hint we can ensure that document will be looked up by...

Instead of connect to the mongoid configured one (usually the used to store model documents). This can be useful on cluster configurations with different number for files and documents hosts.

data_uri method returns the base64 encoded version of something else, but not the blob/binary data.

Hi, I've checked out this repository and wrote the below simple test.rb, while using the below image: ``` ruby require 'mongoid-grid_fs' Mongoid.configure do |config| config.connect_to('mongoid-grid_fs_test') end file = File.open('./signature.png') grid_file...

Sry, maybe I'm stupid, but how to I change the namespace the files are stored in? I need `attachments.files` instead of `fs.files` for my app.

Running into this on Rails 4.1.4, Mongoid 4.0.0, Carrierwave 0.10.0, carrierwave-mongoid 0.7.1 and Mongoid-grid_fs 2.1.0 4dbecf1. When uploading files via Carrierwave into GridFS, it's blowing up in lib/mongoid/grid_fs.rb in the...

It looks like in Mongoid 4.0, Moped::BSON is still defined. This changes the check to Moped::BSON::Binary, which is what is actually needed and which is not present in Mongoid 4.