module Mongoid::Association::Constrainable

Used for converting foreign key values to the correct type based on the types of ids that the document stores.