Hm:t definition help

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs