I have an object ‘details’ which comprises of many attributes like
For a given object of ‘details’, I am trying to obtain the values of
some attributes from a given list (“name”,"department.name "), say from
the config. I tried iterating over the list and access the object’s
attrib using instance_variable_get, but ended up with the error
([“name”] is not a symbol)
Is there something incorrect that I am trying to do ?