Skip to content

Deprecate ActionDispatch::Http::ParameterFilter in favor of ActiveSup… - #34039

Merged
kamipo merged 1 commit into
rails:masterfrom
yskkin:parameter_filter
Oct 8, 2018
Merged

Deprecate ActionDispatch::Http::ParameterFilter in favor of ActiveSup…#34039
kamipo merged 1 commit into
rails:masterfrom
yskkin:parameter_filter

Conversation

@yskkin

@yskkin yskkin commented Oct 1, 2018

Copy link
Copy Markdown
Contributor

…port::ParameterFilter

Motivation

AR instance support filter_parameters since #33756.
Though Regex or Proc is valid as filter_parameters, they are not supported as AR#inspect.
#33756 (comment)

Moving ParameterFitler from ActionDispatch to ActiveSupport possibly make it easy to solve above issue by sharing ParameterFilter with AR and AD.

I'd like to get some feedback before working further on this.

@kamipo

kamipo commented Oct 7, 2018

Copy link
Copy Markdown
Member

This is fine to me.
Do you have any extra work on this?

@yskkin

yskkin commented Oct 7, 2018

Copy link
Copy Markdown
Contributor Author

@kamipo I just added activesupport's CHANGELOG.
I'll submit AR#inspect part in separate PR.

@yskkin

yskkin commented Oct 7, 2018

Copy link
Copy Markdown
Contributor Author

CI failure looks unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants