Saturday, 30 June 2007

Yaml, yaml-syck, catalyst...

If you have problem like:


Couldn't instantiate component "app::Model::app", "->config->{schema_class} must be defined for this model


check if you have YAML::Syck module also. Seems like pure YAML module have bugs and is not enough to parse Catalyst yaml configs.

Just to remember, you can make hierarchy of config files:


app.yaml
app_local.yaml


to override "default" values (eg. for production environment)

No comments: