On Thu, 28 Sep 2006, Ash Berlin 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... > > > > 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
Many thanks (and to Brian Cassidy who said much the same). I thought I'd tried most combinations of various truncated component names but obviously not this one. Now working. > 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. Glad it's not just me! Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge _______________________________________________ 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/