mongoid/mongoid — pull request #3890 by Shwetakale (2014-12-16 07:01:47+00:00)
Title: refs #3889 #3888 checks added for :set for dynamic attributes and error ...

...on non-existing

field

When we call process_attribute, it does all the checks for ensuring that
dynamic attributes are allowed and it also gives 'Mongoid::Errors::UnknownAttribute' when Mongoid::Attributes::Dynamic
not included in model.

refs #3889 #3889