# Rcr 331

**URL:** <https://www.ruby-forum.com/t/rcr-331/99078>\
**Category:** Ruby\
**Created:** [July 20, 2006, 5:37am UTC](https://www.ruby-forum.com/t/rcr-331/99078 "2006-07-20T05:37:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 20, 2006, 5:37am UTC](https://www.ruby-forum.com/t/rcr-331/99078/1 "2006-07-20T05:37:46Z")

</div>

It’s the little things that waste my time the most. Another reason to  
get behind this RCR:

[RCR 331: Remove 'true' parameter from #attr](http://www.rcrchive.net/rcr/show/331)

I had in my code:

attr :plugin\_names. :plugin\_files

There went 20 minutes trying to figure out why I was getting:

NoMethodError: undefined method `plugin\_files’

T.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 20, 2006, 3:10pm UTC](https://www.ruby-forum.com/t/rcr-331/99078/2 "2006-07-20T15:10:23Z")

</div>

On 7/20/06, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> NoMethodError: undefined method `plugin\_files’

That’s where a little bit of ignorance saved me: I didn’t know there was  
an “attr”.

Les
