diff options
author | Patrick Toomey <ptoomey3@biasedcoin.com> | 2019-05-31 07:36:37 -0600 |
---|---|---|
committer | Patrick Toomey <ptoomey3@biasedcoin.com> | 2019-05-31 07:36:37 -0600 |
commit | 06992d50522c5dd2e7fa26bc257cc416b7f47cc8 (patch) | |
tree | 1f199f5182e95fed45183011439ec1f540c09e0b /activemodel/lib | |
parent | f0445213d8f23c982d1c080a750b33d4855d46e4 (diff) | |
download | rails-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 'activemodel/lib')
0 files changed, 0 insertions, 0 deletions