When I found out how the params
could be accessed using both symbol
and string
as keys, I dived deep to figure out about ActiveSupport::HashWithIndifferentAccess
class in Rails.
In this blog for beginners, we will go through it’s implemention.
https://www.sandipmane.dev/hash-with-indifferent-access-in-rails
Top comments (0)