SedentaryRecord MassObject and SQLObject
SedentaryRecord searchable and belongs_to
SedentaryRecord has_many
SedentaryRecord has_one_through

(Although Patrick points out that this version isn't as efficient as it
could be: it fires off two queries rather than one.)