Re: [Catalyst] Catalyst::Model::DBIC::Schema and dbh_maker

2010-06-15 Thread Oleg Kostyuk
2010/5/25 Bill Moseley mose...@hank.org: I would like my Catalyst::Model::DBIC::Schema model class to be able to inspect the configuration and modify connect_info.  Specifically, based on a flag in the config either pass connect_info unmodified or replace dsn/user/password with a dbh_maker

Re: [Catalyst] Catalyst::Model::DBIC::Schema and dbh_maker

2010-06-07 Thread Rafael Kitover
On Tue, May 25, 2010 at 07:36:36AM -0700, Bill Moseley wrote: I would like my Catalyst::Model::DBIC::Schema model class to be able to inspect the configuration and modify connect_info. Specifically, based on a flag in the config either pass connect_info unmodified or replace dsn/user/password

[Catalyst] Catalyst::Model::DBIC::Schema and dbh_maker

2010-05-25 Thread Bill Moseley
I would like my Catalyst::Model::DBIC::Schema model class to be able to inspect the configuration and modify connect_info. Specifically, based on a flag in the config either pass connect_info unmodified or replace dsn/user/password with a dbh_maker sub. What seems to work ok is to use before '

Re: [Catalyst] Catalyst::Model::DBIC::Schema and dbh_maker

2010-05-25 Thread Tomas Doran
On 25 May 2010, at 15:36, Bill Moseley wrote: I would like my Catalyst::Model::DBIC::Schema model class to be able to inspect the configuration and modify connect_info. Specifically, based on a flag in the config either pass connect_info unmodified or replace dsn/user/password with a