README.md in decanter-3.5.1 vs README.md in decanter-3.6.0
- old
+ new
@@ -278,14 +278,17 @@
### Global configuration
You can generate a local copy of the default configuration with `rails generate decanter:install`. This will create an initializer where you can do global configuration:
+Setting strict mode to :ignore will log out any unhandled keys. To avoid excessive logging, the global configuration can be set to `log_unhandled_keys = false`
+
```ruby
# ./config/initializers/decanter.rb
Decanter.config do |config|
config.strict = false
+ config.log_unhandled_keys = false
end
```
## Contributing