X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F05_Authentication.pod;h=9a87fae6d6759f8ce8bb50680e8fdfc117d200df;hb=f6fb02d1f8204f82794f2b43ea11d1f73c2f6d7d;hp=c6f43dbe85f784fc77e5d4a43f2bfa62fe35a59a;hpb=477a6d5b13f55eb335979812080e4a11217f19d6;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod index c6f43db..9a87fae 100644 --- a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod @@ -130,7 +130,7 @@ C option on the DBIC model helper to do most of the work for us: $ script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \ - create=static components=TimeStamp dbi:SQLite:myapp.db \ + create=static component=TimeStamp dbi:SQLite:myapp.db \ on_connect_do="PRAGMA foreign_keys = ON" exists "/home/catalyst/dev/MyApp/script/../lib/MyApp/Model" exists "/home/catalyst/dev/MyApp/script/../t" @@ -619,7 +619,7 @@ generates for us. Simply use the same command we saw in Chapters 3 and 4, but add C<,PassphraseColumn> to the C argument: $ script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \ - create=static components=TimeStamp,PassphraseColumn dbi:SQLite:myapp.db \ + create=static component=TimeStamp,PassphraseColumn dbi:SQLite:myapp.db \ on_connect_do="PRAGMA foreign_keys = ON" If you then open one of the Result Classes, you will see that it @@ -742,7 +742,7 @@ change is to the C field): ); The use of C will cause -Catalyst::Plugin::Authentication::Store::DBIC to call the +Catalyst::Plugin::Authentication::Store::DBIx::Class to call the C method we enabled on our C columns.