Feature #20656
closedImport Hash#except! from Active Support
Description
For some unknown reason, Hash#except! was not imported on #8499. We have Hash#except, but we don't have the bang version (Hash#except!).
This feature request was created to address that.
The new method except! should work exactly as describe on Ruby on Rails API reference: https://edgeapi.rubyonrails.org/classes/Hash.html#method-i-except-21
Updated by nobu (Nobuyoshi Nakada) 3 months ago
- Status changed from Open to Feedback
willianveiga (Willian Veiga) wrote:
For some unknown reason, Hash#except! was not imported on #8499. We have Hash#except, but we don't have the bang version (Hash#except!).
The reason is stated there.
Its behavior does not match what would be inferred from Hash#except
and other bang methods.
The new method except! should work exactly as describe on Ruby on Rails API reference: https://edgeapi.rubyonrails.org/classes/Hash.html#method-i-except-21
Why does it need to be built-in?