> You want to do.. > > $person->affiliation_id-> affiliation_id > > Or you could change the name of the belongs_to() relationship in your model to something like "affiliation" rather than "affiliation_id" which seems more intuitive:
$person->affiliation_id; # "id" $person->affiliation; # AdventAjaxGrid2::Model::AdventAjaxGrid2DB::Affiliation $person->affiliation->affiliation_id; # "id" -- Ian Sillitoe CATH Team -- http://cathdb.info
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
