jnunemaker/mongomapper — pull request #449 by wpeterson (2012-09-14 23:12:38+00:00)
Title: Only set defaults values on initialize()

* Use write_key to bypass attr_accessible protection for default values.

* Add support for default _id values to id accessor.

* Add tests for different default use cases