need to add 'Mongoid::Attributes::Dynamic' in model for dynamic attributes

According to Chnagelog #2563 'allow_dynamic_fields' configuration option
has been removed from mongoid4.
Dynamic fields are allowed on per model level.