Forum: Ruby on Rails HABTM pregunta

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8133ee52ca72188132b5c7d97dfb967f?d=identicon&s=25 Chris Habgood (chabgood)
on 2009-05-08 00:08
(Received via mailing list)
I have 2 habtm relations:


Is there an easy way to do a query like:

Find out what sites belong to what company related to the form?

Also is there a better or more efficient way of setting this kind of
scenario up?

The FORM can have multiple companies associated as well as multiple
sites belonging to each company.
This topic is locked and can not be replied to.