diff options
author | Michael Holroyd <meekohi@gmail.com> | 2018-06-14 16:14:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 16:14:47 -0400 |
commit | 17af429958a863ee25a9e847d84cf394259338b0 (patch) | |
tree | bbf0df456d342bf41637c3e7e60c5df0b8f98b50 /actionpack/test/dispatch/request_id_test.rb | |
parent | 91ae6531976d0d2e7690bde0c1d5e6cc651f2578 (diff) | |
download | rails-17af429958a863ee25a9e847d84cf394259338b0.tar.gz rails-17af429958a863ee25a9e847d84cf394259338b0.tar.bz2 rails-17af429958a863ee25a9e847d84cf394259338b0.zip |
Update example for whitelisting arbitrary hashes
Since the ability to whitelist arbitrary hashes was added (https://github.com/rails/rails/issues/9454 was resolved by https://github.com/rails/rails/commit/e86524c0c5a26ceec92895c830d1355ae47a7034), this example is no longer outside of what strong_params can do. Moved this specific example out of the "Outside the Scope" section and into the regular "Examples" section, but left the "Outside the Scope" section as it was since the advice is still relevant for weirder whitelisting situations (maybe someone wants to add a new example that can't be handled natively).
Diffstat (limited to 'actionpack/test/dispatch/request_id_test.rb')
0 files changed, 0 insertions, 0 deletions