[Rails-core] Re: [Feature][ActiveSupport] Hash#deep_delete/1+ core extension

2018-04-09 Thread r . kakorin
Arity is a 1+ понедельник, 9 апреля 2018 г., 16:58:01 UTC+3 пользователь r.ka...@potok.digital написал: > > Its a quite necessary feature which is needed for working with too large > hashes, when you need to clear some data from specified fields which are > located on different nesting

[Rails-core] [Feature][ActiveSupport] Hash#deep_delete/0+ core extension

2018-04-09 Thread r . kakorin
Its a quite necessary feature which is needed for working with too large hashes, when you need to clear some data from specified fields which are located on different nesting levels, e.g. personal data. Its provides removing key-value pair in any level nesting of hash pair. Example: { k: 1,