Forum: Ruby on Rails Ruby: Object's attribute out of reach

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
shahroon ali (Guest)
on 2009-04-23 19:51
(Received via mailing list)
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
This topic is locked and can not be replied to.