[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

is belongs_to :through supported?

dave.new

5/22/2006 1:54:00 AM

Hi all,

After noticing the has_many :through association added in the latest
Rails, I'm wondering if a belongs_to :through association has been
added as well. The documentation seems to be hazy on this. At one
point, it claims: "You can only use a :through query through a
belongs_to or has_many association." However, it makes no mention of
the :through parameter under the definition of the belongs_to
association.

Does anyone know if a belongs_to :through association is supported or
not?

Thanks!

Dave