2008/8/9 Niels Richter <[EMAIL PROTECTED]>
>
> class Forum < ActiveRecord::Base
>  has_many :forum_posts
>  has_many :user, :through => :forum_posts, :source => :forum
> end


> Gibt es da eine Möglichkeit oder übersehe ich was? In der Dokumentation gab
> es da nichts zu lesen.
>

Einfach has_many :authors, :class_name => 'User', .... hinschreiben.

-- 
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an