README.md in decanter-3.4.2 vs README.md in decanter-3.5.0
- old
+ new
@@ -142,10 +142,14 @@
input :start_date, :date, parse_format: '%Y-%m-%d'
```
### Exceptions
-By default, `Decanter#decant` will raise an exception when unexpected parameters are passed. To override this behavior, you can disable strict mode:
+By default, `Decanter#decant` will raise an exception when unexpected parameters are passed. To override this behavior, you can change the strict mode option to one of:
+
+- `true` (default): unhandled keys will raise an unexpected parameters exception
+- `false`: all parameter key-value pairs will be included in the result
+- `:ignore`: unhandled keys will be excluded from the decanted result
```ruby
class TripDecanter < Decanter::Base
strict false
# ...