Hash is treated as string in Rails 4.1

I have defined an instance variable as Hash in controller. When the instance variable is retrieved in View, its type is String, and the value is string too.
Something wrong?

Can't tell without seeing code.

Yes, something is wrong, obviously. Unfortunately it is not possible
for us to tell what is wrong unless you show us how you are assigning
the value to it and the code that renders it that shows it is a
string. Also what is the value of the hash and what does it render