Subject: | Catalyst::Manual::Tutorial::Authentication doc error |
Date: | Fri, 28 Dec 2012 08:58:31 -0600 |
To: | bug-Catalyst-Manual [...] rt.cpan.org |
From: | "F. Li" <li.hansen.inc [...] gmail.com> |
In "Catalyst::Manual::Tutorial::Authentication" during section
"Add Users and Roles to the Database"
the tables are named in the plural ... users, roles etc.
In the subsequent section "Add User and Role Information to DBIC Schema"
script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \
create=static components=TimeStamp dbi:SQLite:myapp.db
is run and the modules created are "in the singlular" so that the
files to be edited also bear the singular form.
ie
lib/MyApp/Schema/Result/Users.pm: should be lib/MyApp/Schema/Result/User.pm
lib/MyApp/Schema/Result/Roles.pm: should be lib/MyApp/Schema/Result/Role.pm:
lib/MyApp/Schema/Result/UserRoles.pm: should be
lib/MyApp/Schema/Result/UserRole.pm: