in reply to dbix::class relationship problem or TT object handling problem?
looks ok to me, nation.resources returns a list of resource objects so you need to access the column in the object..
you could also do:
[% FOR resource = nation.resources %]<li>[% resource.id %]</li>[% END +%]
which would list the resouce ids..
cheers,
J
|
---|
In Section
Seekers of Perl Wisdom