karmi/tire — pull request #535 by sideshow (2012-12-05 23:05:48+00:00)
Title: Fixes issue 529 - bulk importing mongoid documents gives an erroneous id

Document#id with Mongoid returns a Moped::BSON::ObjectId instead if a string, which was confusing elasticsearch. Casting the id to a string fixes this issue.