On Thu, Jun 07, 2007 at 03:40:00PM -0500, Guy Debord wrote:
> Matt et al,
> 
> All of my models -- such as TMP::Model::Foo -- created by the helper
> -- use DBIC::Schema as a base class and are configured to use
> TMP::Schema as their schema_class.

Yes. You only need *one* model per DBIC::Schema!

> tmp_create.pl model Bar DBIC::Schema TMP::Schema create=static connect_info

tmp_create.pl model DB DBIC::Schema TMP::Schema

$c->model('DB::Foo')
$c->model('DB::Bar')

etc.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to