join list where ID is repeated in one table?

I think what you're looking for is the :conditions option on your
model association. Check the docs for ActiveRecord.

-- James