mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c6c53a02a5
Prior to this commit, when adding attachments to an inbound email through the conductor, the log would warn of an unpermitted parameter with the message: > Unpermitted parameter: :attachments. Context: { } Also, if an application had the setting: config.action_controller.action_on_unpermitted_parameters = :raise it would raise an error, because the attachments are not a permitted parameter. This commit also sets `action_on_unpermitted_parameters` to `:raise` for the action mailbox test suite, so that tests are run in most restrictive setting available, to prevent future unpermitted parameters from being passed by conductor actions. Co-authored-by: Dana Henke <danapalazzo1@gmail.com> |
||
---|---|---|
.. | ||
controllers | ||
dummy | ||
fixtures/files | ||
generators | ||
jobs | ||
unit | ||
test_helper.rb |