an exercise in using rails has_many :through association