fixup POD to only mention DBIC::Schema model, not DBIC
Matt S Trout [Wed, 10 May 2006 18:45:45 +0000 (18:45 +0000)]
Changes
lib/Catalyst.pm
lib/Catalyst/Manual/Plugins.pod

diff --git a/Changes b/Changes
index 54dffe5..90356d0 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
 This file documents the revision history for Perl extension Catalyst.
 
+        - Fix pod to use DBIC::Schema instead of DBIC model
         - Fix ->config failing to copy _config for subclassing
         - ConfigLoader: Updated to version 0.07
 
index b43ffcc..961899e 100644 (file)
@@ -91,7 +91,7 @@ Catalyst - The Elegant MVC Web Application Framework
     catalyst.pl MyApp
 
     # add models, views, controllers
-    script/myapp_create.pl model Database DBIC dbi:SQLite:/path/to/db
+    script/myapp_create.pl model Database DBIC::SchemaLoader dbi:SQLite:/path/to/db
     script/myapp_create.pl view TT TT
     script/myapp_create.pl controller Search
 
index 8dc0ddb..e3030e0 100644 (file)
@@ -515,10 +515,11 @@ classes, either by doing so within the Catalyst model classes
 themselves, or by inheriting from existing C<Class::DBI>
 classes.
 
-=head2 Catalyst::Model::DBIC
+=head2 Catalyst::Model::DBIC::Schema
 
-L<Catalyst::Model::DBIC> is a L<DBIx::Class> model class built on top of
-L<DBIx::Class::Loader>.
+L<Catalyst::Model::DBIC::Schema> is a L<DBIx::Class> model class that can
+use either an explicit DBIx::Class::Schema or one automatically loaded from
+your database via DBIx::Class::Schema::Loader
 
 =head2 Catalyst::Model::Plucene