# Re: undefined method \`string'

**URL:** <https://www.ruby-forum.com/t/re-undefined-method-string/75880>\
**Category:** Ruby\
**Created:** [November 14, 2006, 12:11am UTC](https://www.ruby-forum.com/t/re-undefined-method-string/75880 "2006-11-14T00:11:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [November 14, 2006, 12:11am UTC](https://www.ruby-forum.com/t/re-undefined-method-string/75880/1 "2006-11-14T00:11:08Z")

</div>

From: Comfort E.

> Perhaps, but soup.a gives me actual results other than nil.  
> “.a” is a  
> rubyful\_soup method.

Surprising. Can you provide the contents of the sample document where  
you are getting this error, so that we can reproduce it?
