You should really be joining the queries:

records = db(db.person.id==db.cats.owner).select(db.cats.ALL, db.person.ALL)

Then in your view, you access this by using:

{{for record in records:}}
    <b>{{=record.person.name}}</b>: {{=record.cats.name}}
{{pass}}

Reply via email to