-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
options: &default_options allow_dynamic_fields: false
$ bundle update && rails c
Then seeing a validator error for mongoid.yml
.../gems/mongoid-6541004929df/lib/mongoid/config/validators/option.rb:19:in `validate': (Mongoid::Errors::InvalidConfigOption)
Problem:
Invalid configuration option: allow_dynamic_fields.
Summary:
A invalid configuration option was provided in your mongoid.yml, or a typo is potentially present. The valid configuration options are: :identity_map_enabled, :include_root_in_json, :include_type_for_serialization, :preload_models, :raise_not_found_error, :scope_overwrite_exception, :duplicate_fields_exception, :use_activesupport_time_zone, :use_utc.
Resolution:
Remove the invalid option or fix the typo. If you were expecting the option to be there, please consult the following page with repect to Mongoid's configuration:
http://mongoid.org/en/mongoid/docs/installation.html
When i go to the page it (of course) has this as a possible configuration option...