aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/log_subscriber
diff options
context:
space:
mode:
authorPatrick Toomey <ptoomey3@biasedcoin.com>2019-05-31 07:36:37 -0600
committerPatrick Toomey <ptoomey3@biasedcoin.com>2019-05-31 07:36:37 -0600
commit06992d50522c5dd2e7fa26bc257cc416b7f47cc8 (patch)
tree1f199f5182e95fed45183011439ec1f540c09e0b /activesupport/lib/active_support/log_subscriber
parentf0445213d8f23c982d1c080a750b33d4855d46e4 (diff)
downloadrails-06992d50522c5dd2e7fa26bc257cc416b7f47cc8.tar.gz
rails-06992d50522c5dd2e7fa26bc257cc416b7f47cc8.tar.bz2
rails-06992d50522c5dd2e7fa26bc257cc416b7f47cc8.zip
Add failing test for array values and procs
Based on the way parameters are currently processed, a parameter value of type Hash is recursively processed. For a value of type Array however, the current behavior is to simply return the original array, with no filtering. It is not clear what the expected behavior should be. But, doing nothing seems incorrect, since it bypasses custom Proc based parameter filtering all together for arrays of values. This change introduces a failing test in preparation to add logic that proposes one possible option for the expected behavior with Array values.
Diffstat (limited to 'activesupport/lib/active_support/log_subscriber')
0 files changed, 0 insertions, 0 deletions