[Rails] Re: Find or select across a many to many relationship

2009-03-01 Thread johnsonmlw
Oh yes. Very nice. Thanks. AR is very aware! Clever AR! -- Matt On Mar 1, 7:37 pm, Frederick Cheung wrote: > On Mar 1, 5:52 pm, johnsonmlw wrote: > > > I have an incident model and a pupil model, and they have a many to > > many relationship through an involvement model. Also, a pupil belongs

[Rails] Re: Find or select across a many to many relationship

2009-03-01 Thread Frederick Cheung
On Mar 1, 5:52 pm, johnsonmlw wrote: > I have an incident model and a pupil model, and they have a many to > many relationship through an involvement model. Also, a pupil belongs > to a cohort. > > How can I show incidents (ideally just once), in date order, where > there is an involvement pres