mongoid-grid_fs
mongoid-grid_fs copied to clipboard
changed check for old BSON implementation
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.