diff --git a/config/environments/staging.rb b/config/environments/staging.rb index d8f0e530c..150c62d8c 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -1,6 +1,8 @@ Growstuff::Application.configure do # Settings specified here will take precedence over those in config/application.rb + config.action_controller.action_on_unpermitted_parameters = :raise + # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both threaded web servers # and those relying on copy on write to perform better.