bernat/best_in_place — pull request #96 by rantav (2012-01-30 15:20:00+00:00)
Title: Add support for mongoid in the select option by using v.id as a key to the hash

using mongoid, the Hash key to the collection doesn't seem to work.
My patch fixes that by using the object's id (if the value wasn't previously found).

// I wasn't able to make run the specs (they all failed...). sorry...