[Dbix-class] doing a search
Octavian Rasnita
orasnita at gmail.com
Fri Jan 19 18:33:39 GMT 2007
From: "Nilson Santos Figueiredo Junior" <acid06 at gmail.com>
> You've probably set up a relationship called "id_role" and thus it's
> getting called instead of the "id_role" field accessor. Try changing
> the name of this relationship.
Oh yes, that was the problem.
Can you tell me in which cases are the relations "belongs_to" needed?
I have seen that the authorization works even if I comment them out. I think
they are not required for the authorization, and I don't know if I should
keep them or not.
Thank you for help.
Octavian
More information about the Dbix-class
mailing list