Subject: | Tutorial bug for schema link table changes |
At #Add_User_and_Role_Information_to_DBIC_Schema ,
the tutorial asks to set many_to_many as :
__PACKAGE__->many_to_many(roles => 'user_roles', 'role');
This should be replaced as
__PACKAGE__->many_to_many(roles => 'user_roles', 'role_id');