title: Rails test for hash type
body: <p>In Sinatra, I could test for some_object.class.name == "Hash".  Now, after a submit, I have to test for that, plus == "ActiveSupport::HashWithIndifferentAccess", for my code to work.  Why is that, and do I have to update all the places where that comparison happens, or is there an easier way?  thanks </p>