Ruby Development and MongoMapper
Notes on the "Ruby Development and MongoMapper" session at MongoSF:MongoMapper can do typeless Uses a fork of validatable to do validations callback (e.g. before_validation) <-- taken from ActiveSupport Relationships work for both documents and embeded documents MongoMapper is all plugin based, plugins are super easy to write MongoMapper joint plugin -> gridfs handling MongoMapper::Document.append_extensions(Module) http://mongotips.com/
- Posterous uses mongomapper
- Schema is versioned with the rest of the code
- MongoMapper includes "Set" and "Date" types that aren't supported by Mongo Mapper
- You can define your own set: self.to_mongo / self.from_mongo