Forum: Ruby on Rails has_many :through question

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-04-15 02:19
(Received via mailing list)
I have 3 models

has_many :alarms
has_many :dacsports, :through => :alarms

belongs_to :circuit
belongs_to :dacsport

has_many :alarms
has_many :circuits, :through => :alarms

I have the circuit -> dacsport relationship going.

How do I correlate the alarm data to either the circuit or the
This topic is locked and can not be replied to.