mongoid / mongoid-grid_fs

A pure Mongoid/Moped implementation of the MongoDB GridFS specification.
Other
83 stars 51 forks source link

changed check for old BSON implementation #47

Closed jeremy6d closed 10 years ago

jeremy6d commented 10 years ago

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.

jeremy6d commented 10 years ago

Found some other places where I should change code, will resubmit