MongoMapper 0.11.0 Release
Posted by Jon Kern (stenographer) on January 26, 2012
MongoMapper 0.11.0 has been released, with some bug fixes and enhancements from the following contributors:
Enhancements
- Adds support for has_one polymorphic embedded associations
- Adds namespacing to model generator
- Adds :context option to validates_associated
many :things
validates_associated :things, :context => :custom_context
- Adds ActiveRecord-compatible association reflection
- Adds support for setting mongo connection options in mongo.yml
production:
uri: <%= ENV['MONGOHQ_URL'] %>
options:
safe: true
- Adds #timestamps! to embedded documents
Bug Fixes
- #update_attribute now ignores attr_accessible and attr_protected
- Fix deprecation warnings in Rails 3.2
Changelog
See the individual commits via the full change log for v0.11.0