Ok, I found that the recursion error is happening when trying to store the
role in the session.
my $roles = $c-model('authdb::User')-find( { 'username' = $username },
{
prefetch = 'roles',
columns = 'roles.role',
Hello Kenneth,
actually many_to_many helpers are not considered as relationships. It's
just a helper.
What are you trying to achieve? Get all roles for given user? Does
$c-model('authdb::User')-find({username = $username})-roles do the
trick?
Cheers,
Dimitar
On Thu, May 31, 2012 at 10:38 PM,
Well it returns 1 when I change it to that.
Dimitar Petrov mita...@gmail.com wrote on 05/31/2012 04:00:31 PM:
From:
Dimitar Petrov mita...@gmail.com
To:
The elegant MVC web framework catalyst@lists.scsys.co.uk
Date:
05/31/2012 04:02 PM
Subject:
Re: [Catalyst] Deep Recusion