From 4dc9010fbc7d82ea8e6fc780b62482d615a6db0a Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 5 Apr 2020 17:45:39 +0200 Subject: [PATCH] replace ActionDispatch::Http::ParameterFilter with ActiveSupport::ParameterFilter --- app/controllers/impressionist_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/impressionist_controller.rb b/app/controllers/impressionist_controller.rb index 9bfcb22..e64823d 100644 --- a/app/controllers/impressionist_controller.rb +++ b/app/controllers/impressionist_controller.rb @@ -51,7 +51,7 @@ module ImpressionistController # creates a statment hash that contains default values for creating an impression via an AR relation. def associative_create_statement(query_params={}) - filter = ActionDispatch::Http::ParameterFilter.new(Rails.application.config.filter_parameters) + filter = ActiveSupport::ParameterFilter.new(Rails.application.config.filter_parameters) query_params.reverse_merge!( :controller_name => controller_name, :action_name => action_name,