diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-15 09:08:47 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-15 09:09:50 -0600 |
commit | 94a1edbc023fd82bf96705d86abc85d2eab14ba3 (patch) | |
tree | 762f16eca798d76e047640b6d7a85f22c2ba0b48 /activesupport/lib/active_support/inflector | |
parent | b1f4c4bbcfe31999636130dea478c076ec595fe7 (diff) | |
download | rails-94a1edbc023fd82bf96705d86abc85d2eab14ba3.tar.gz rails-94a1edbc023fd82bf96705d86abc85d2eab14ba3.tar.bz2 rails-94a1edbc023fd82bf96705d86abc85d2eab14ba3.zip |
Filter scalar values when params permit hashes or arrays
This brings the behavior more inline with other similar cases, such as
receiving a hash when an array of scalars was expected. Prior to this
commit, the key would be present, but the value would be `nil`
Diffstat (limited to 'activesupport/lib/active_support/inflector')
0 files changed, 0 insertions, 0 deletions