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...
>
> Jon.
>
>   
The answer is yes. Strip off "Catalyst::" from the component name. e.g.

name: MyApp
Model::MyModel:
  arg1: foo
  arg2:
    - bar
    - baz
View::TT
  DEBUG: 1

As to where it's documented, I cant seem to find it, but I'm sure it is 
somewhere, tho its clearly not obvious enough since I know its there and 
cant find it.

Ash


_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to