sunspot_index_queue
sunspot_index_queue copied to clipboard
Convert ids from BSON::ObjectId to String when using Mongoid
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.