Merge pull request #283 from Plaristote/master

remove deprecated use of ActionDispatch::Http::ParameterFilter
This commit is contained in:
John McAliley 2020-04-18 02:28:24 -04:00 committed by GitHub
commit 00d3a457c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,