# Ruby: Object's attribute out of reach

**URL:** <https://www.ruby-forum.com/t/ruby-objects-attribute-out-of-reach/166299>\
**Category:** Rails\
**Created:** [April 23, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/ruby-objects-attribute-out-of-reach/166299 "2009-04-23T17:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahroon\_ali](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@shahroon\_ali](https://www.ruby-forum.com/u/shahroon_ali)\
**Post date:** [April 23, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/ruby-objects-attribute-out-of-reach/166299/1 "2009-04-23T17:51:18Z")

</div>

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
