This blog is part of our Rails 5.2 series.
Ruby 2.3 added
fetch_values method to hash.
fetch_values we are able to
get values for multiple keys in a hash.
Rails 5.2 introduces method
We’ll hence be able to fetch values of multiple keys
on any instance of HashWithIndifferentAccess class.