From: Phlip Date: 2008-08-12T20:42:36+09:00 Subject: Re: :through relationship Ganesh Kumar wrote: > Is it possible to use :through in has_and_belongs _to_many > relationship I guess it's my turn to apply the rubber stamp! Ruby is a language. Rails, and ActiveRecord, are frameworks written in that language. The best forum for questions about them is the Ruby-on-Rails-talk group at Google Groups. And there are those (on that newsgroup) who never use habtm because it gets in the way the instant you think to add a property to the intermediate table. I suspect :through only works thru has_many - not even belongs_to. If you only need to access the through item, just write a little accessor for it: def bars foos.map(&:bars).flatten end -- Phlip