[Catalyst] "Unknown column 'me.role'" error

Jason Kohles email at jasonkohles.com
Fri Sep 7 20:54:32 GMT 2007


On Sep 7, 2007, at 3:22 PM, Dustin Suchter wrote:

> Unfortunately I thought of that one already, and the two do match.
> Here's the useful YAML and below is the useful SQL just to double
> check. I believe the underlying MySQL engine is 4.1.
>
> # cat adblue.yml | grep -v "\s*#"
> ---
> name: AdBlue
> authentication:
>     dbic:
>         user_class: AdBlueDB::User
>         user_field: username
>         password_field: password
> authorization:
>     dbic:
>         role_class: AdBlueDB::User

I think you meant AdBlueDB::Role for the role_class...

>         role_field: role
>         role_rel: map_user_role
>         user_role_user_field: user_id
>

-- 
Jason Kohles
email at jasonkohles.com
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire





More information about the Catalyst mailing list