# Hm:t definition help

**URL:** <https://www.ruby-forum.com/t/hm-t-definition-help/115237>\
**Category:** Rails\
**Created:** [September 22, 2007, 4:31am UTC](https://www.ruby-forum.com/t/hm-t-definition-help/115237 "2007-09-22T04:31:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koalemos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/65b543/32.png) [@Koalemos](https://www.ruby-forum.com/u/Koalemos)\
**Post date:** [September 22, 2007, 4:31am UTC](https://www.ruby-forum.com/t/hm-t-definition-help/115237/1 "2007-09-22T04:31:18Z")

</div>

I have the Raid model with:  
has\_many :earners, :through =\> :raid\_attendees, :source  
=\> :character

The raid\_attendees table has an earner\_id table. When I try to define  
something using  
at = RaidAttendee.new  
at.earner = Character.find(whatever)

i get this error: NoMethodError: undefined method `earner=’ for  
#RaidAttendee:0x525cc40

I don’t really have any idea where to start trying to fix this.

Thanks
