mongoid/mongoid — pull request #1819 by pivotal-chelsea (2012-03-13 21:35:17+00:00)
Title: Fix dynamic fields

An application of https://github.com/mongoid/mongoid/pull/1053 to the 2.4.0 stable branch.

assigned an attribute not define in field and you don't
allow_dynamic_field