[Dbix-class] Re: [Catalyst] relationship or user problem
Will Hawes
info at whawes.co.uk
Mon Feb 6 23:22:19 CET 2006
Wijnand Wiersma wrote:
>
> Op 6-feb-2006, om 23:08 heeft Will Hawes het volgende geschreven:
>
>>> Anyway, that dump is at http://nedbsd.nl/~wijnand/catalystdump1.txt
>>
>> According to the dump, your bsdjobs::Model::DBIC::Person object has a
>> relationship named "pskill" but none named "pskills". Perhaps a typo
>> is to blame (double check what is in your has_many declaration for
>> that relationship).
>
> __PACKAGE__->has_many('pskills' => 'bsdjobs::Model::DBIC::Pskills',
> 'person');
>
> I used pskills everywhere, I can't find pskill anywhere.
> I just double checked it to be sure.
>
That's very odd. Do things work if you change your template code to
"c.user.user.pskill" instead of "c.user.user.pskills"?
More information about the Dbix-class
mailing list