Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Brian Cassidy
Hermida, Leandro wrote: Inside MyApp::Model::MyAppDB: use strict; use base 'Catalyst::Model::DBIC::Schema'; __PACKAGE__-config( schema_class = 'MyAppDB', connect_info = [ 'dbi:SQLite:myapp.db', '', '', { AutoCommit = 1 }, ], );

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Juan Miguel Paredes
On 12/5/06, Juan Miguel Paredes [EMAIL PROTECTED] wrote: On 12/5/06, Hermida, Leandro [EMAIL PROTECTED] wrote: Hello, I remember seeing the question being asked before but I couldn't find it in the archives. How does one set up the model connect info to come from the YAML configuration

RE: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Hermida, Leandro
these parameters and generating the right config in the model? Leandro -Original Message- From: Brian Cassidy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 14:29 To: The elegant MVC web framework Subject: Re: [Catalyst] model connect info to come from YAML configuration file Hermida

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Juan Miguel Paredes
On 12/5/06, Juan Miguel Paredes [EMAIL PROTECTED] wrote: On 12/5/06, Juan Miguel Paredes [EMAIL PROTECTED] wrote: On 12/5/06, Hermida, Leandro [EMAIL PROTECTED] wrote: Hello, I remember seeing the question being asked before but I couldn't find it in the archives. How does one set up

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread John Napiorkowski
-- Brian Cassidy [EMAIL PROTECTED] wrote: Hermida, Leandro wrote: Inside MyApp::Model::MyAppDB: use strict; use base 'Catalyst::Model::DBIC::Schema'; __PACKAGE__-config( schema_class = 'MyAppDB', connect_info = [ 'dbi:SQLite:myapp.db', '',