diff options
author | Eugene Kenny <elkenny@gmail.com> | 2017-05-10 23:48:46 +0100 |
---|---|---|
committer | Eugene Kenny <elkenny@gmail.com> | 2017-05-10 23:48:46 +0100 |
commit | fb0fae9747ceec065e75867ea83afb713a5b449b (patch) | |
tree | 781aedc15df9c301bc30e714a44d6748fd91edd6 /README.md | |
parent | 97bd56e674603529d96c6f6e85d695dd24208afb (diff) | |
download | rails-fb0fae9747ceec065e75867ea83afb713a5b449b.tar.gz rails-fb0fae9747ceec065e75867ea83afb713a5b449b.tar.bz2 rails-fb0fae9747ceec065e75867ea83afb713a5b449b.zip |
Pass block in ActionController::Parameters#delete
In order to fully support the same interface as `Hash#delete`, we need
to pass the block through to the underlying method, not just the key.
This used to work correctly, but it regressed when
`ActionController::Parameters` stopped inheriting from `Hash` in 5.0.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions