Posted on / by Bondan Herumurti / in Ruby On Rails, Web Development

Solidus deep_symbolize_keys problem Rails 5.1

Since release of rails 5, deep_symbolize_keys has been a problem for me, when it comes to integrating solidus_searchkick plugin so the other way to do it is actually pretty simple

you could add to_unsafe_h before deep_symbolize_keys, or use transform_keys! replacing the deep_symbolize_keys

Cheers happy coding

Leave a Reply