Ruby: Object's attribute out of reach

Hi everyone,

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

  • !ruby/object:Opportunity
    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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs