Ruby: Object's attribute out of reach


#1

Hi everyone,

I have a very interesting problem, I dont know why I am so confused
about
it, here my problem is

  • !ruby/object:Opportunity
    attributes:
    created_at: 2009-03-28 11:29:58
    position_title: Software Engineer4
    id: “4”
    attributes_cache: {}

Above is my output by using debug(@parent), I want to access

position_title :Software Engineer4

of this object but I am totally unable to access a single attribute of
this object. Can anyone help me?

Thanks