sunspot_index_queue icon indicating copy to clipboard operation
sunspot_index_queue copied to clipboard

Convert ids from BSON::ObjectId to String when using Mongoid

Open fedegl opened this issue 13 years ago • 0 comments

When retrieving the entries mongoid seems to be converting the record_id from a String to a BSON::ObjectId, and so when calling adapter.load_all(ids) and the ids are not strings it returns a illegal ObjectId format error.

fedegl avatar Mar 30 '12 03:03 fedegl