[Feature Request] Configuration to automatically include camelized versions of filter parameters

11 views
Skip to first unread message

Glenn Espinosa

unread,
Mar 17, 2018, 2:08:35 AM3/17/18
to Ruby on Rails: Core
For example, when specifying Rails.application.config.filter_parameters += [:social_security_number]

It would be nice if Rails had a boolean configuration option to also include parameter variations such as :socialSecurityNumber.

Something like Rails.application.config.include_camelized_filter_parameters = true

Would be more than happy to work on this if it seems reasonable. 

Best,
Glenn Espinosa

Andrew Kaspick

unread,
Mar 17, 2018, 10:05:03 AM3/17/18
to Ruby on Rails: Core
Just add both variations or automate with some additional code that adds both variations to the list for you automatically. 


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-co...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages