I found this bit of code here:
ActionController::Parameters.action_on_unpermitted_parameters = :raise
I tried putting this in config/envi
config/envi