added dbic::schema config example
Brian Cassidy [Fri, 15 Dec 2006 00:41:48 +0000 (00:41 +0000)]
lib/Catalyst/Plugin/ConfigLoader/Manual.pod

index f2b9f97..e2f07bf 100644 (file)
@@ -155,4 +155,17 @@ Catalyst::Plugin::ConfigLoader::Manual - Guide to using the ConfigLoader plugin
     Model::Baz:
         qux: xyzzy
 
+=head1 COOKBOOK
+
+=head2 Configuring a Catalyst::Model::DBIC::Schema model from a YAML config
+
+    Model::MyModel:
+      schema_class: MyApp::MySchema
+        connect_info:
+        - dbi:SQLite:myapp.db
+        - ''
+        - ''
+        - AutoCommit: 1 
+
 =cut
+