1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Raise exceptions on unpermitted parameters errors in test environment

This commit is contained in:
Matt Jankowski 2024-05-20 14:57:56 -04:00
parent 82344342c1
commit 46b6a1b1ce

View file

@ -21,6 +21,9 @@ Rails.application.configure do
config.assets_digest = false
# Raise exceptions on unpermitted parameters errors
config.action_controller.action_on_unpermitted_parameters = :raise
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false