Hello, I was looking to move connection info from my application's model DBIC class to the YAML configuration, but could not find anything in the pod for Catalyst::Model::DBIC::Schema. The only code was:
__PACKAGE__->config( schema_class => 'MyApp::Schema::FilmDB', connect_info => [ "DBI:...", "username", "password", {AutoCommit => 1} ] ); I could not find any documentation about how to supply a model's configuration parameters in the YAML in Catalyst::Model, since this is generic to all models. I finally found documentation in Catalyst::Model::Adaptor for this, and applied it: Model::DBIC: schema_class: 'MyApp::Schema::FileDB' connect_info: - 'dbi:Pg:dbname=myapp' - 'postgres' - '' - AutoCommit: 1 Can I edit the pod for Catalyst::Model::DBIC::Schema with this example and/or Catalyst::Model and send it to the author/documenter? -- Thanks and Regards, Terence Monteiro. DeepRoot Linux, Ph: +91 (80) 4112 4784 / 85. _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/