[Dbix-class] missing 'many-to-many' relationship

Steve steve at matsch.com
Wed Aug 4 12:34:38 GMT 2010


Hi all,
>> I am bewildered as to why my 'many_to_many' relationship is being ignored.
>> I get an error when trying to use the relationship because it 'does not
>> exist',
>> and clearly it doesn't.  WHY?
>> My result classes are 'User.pm', 'Role.pm', and 'UserRole.pm'.
>> I'm using the DBIC::Loader to generate the 'has_many', and 'belongs_to'
>> relationships, which leaves me to create the 'many_to_many' relationship
>> manually.
>> ...
>>      

>   include the error message please.
>
 From memory: No such relationship roles in DCO::Schema::Result::User






More information about the DBIx-Class mailing list