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 },
],
);
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
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
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
-- 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',
'',