hanami / controller

Complete, fast and testable actions for Rack and Hanami

Home Page:http://hanamirb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deep symbolization of params with nested array of hashes

rybex opened this issue · comments

commented

Hi,

Hanami uses the Hanami::Utils::Hash to parse controller's params which doesn't symbolize nested array of hashes. IMHO we should symbolize them to keep consistency. I have prepared small PR in the Hanami utils lib to fix it. Does it make any sense?

@rybex Would you mind to use Hanami::Utils::Hash.deep_symbolize instead of #symbolize!. Thanks.


I'm closing this because of: hanami/utils#232 (comment)