I have a hash, represented by @hash. I want to display the keys and
values of @hash in my view.
I realize that if say one of keys was “ip_address” i could simple add
this to my view: <%= @hash[‘ip_address’] %>.
However! @hash changes…Thus I won’t always have the same keys. I
need a way to show key and values of a hash without specifically
naming each key that I want in my view.
Any suggestions would be greatly appreciated.