Re: [Catalyst] DBIC::Schema [and schema::loader] from YAML

2006-09-28 Thread leonard . a . jaffe
[ I tried to make the attributions clear via some liberal editing...laj] > > > > Jon Warbrick started it all by asking: > > > > [ how do I configure DBIC::Schema models via YAML? ] > > > Brian Cassidy replied: > > > [ yaml example edited - for brevity ] > > Len Jaffe then asked: > > How do

Re: [Catalyst] DBIC::Schema [and schema::loader] from YAML

2006-09-28 Thread Brian Cassidy
[EMAIL PROTECTED] wrote: > While we're on the subject, lets assume that MySchema is > 'myapp::SchemaLoader::foo. > > How do I make sure that my SchemaLoader can see the config when it > tries to execute > __PACKAGE__->connection? > > It isn't seeing the Model::MyModel connect_info, admonishing me

Re: [Catalyst] DBIC::Schema [and schema::loader] from YAML

2006-09-28 Thread Brandon Black
On 9/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: Brian Cassidy wrote:         > Jon Warbrick wrote: > > Can a Catalyst::Model::DBIC::Schema model be configured from a YAML > > file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in > > the documentation somewhere, but

Re: [Catalyst] DBIC::Schema [and schema::loader] from YAML

2006-09-28 Thread leonard . a . jaffe
Brian Cassidy wrote:         > Jon Warbrick wrote: > > Can a Catalyst::Model::DBIC::Schema model be configured from a YAML > > file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in > > the documentation somewhere, but if so I've yet to find it... > >   > in myapp.yml > > M