mongoid/mongoid — pull request #1333 by sporkd (2011-10-08 05:07:36+00:00)
Title: Fixed naming conflicts with custom types

This pull request fixes an issue that prevents defining your own custom (serializable) types by simply using your own module namespace. Mongoid gets confused by type names like `Mongoid::MyMongoidExtension::Time` and uses `Mongoid::Fields::Serializable::Time` instead.

The same issue would also happen for custom types like `AnyModule::Date` or `Some::OtherModule::Range`. See specs for more details.