Subject: | Should support config() class method |
If you convert a DB model class from Catalyst-Model-CDBI to -Plain then
it's easy to forget to change the ->config() call into an ->connection()
call. This causes things to break down the line, leaving an unhelpful
error message about db_Main not being available on the class (at least
in my case).
It would be nicest if ->config worked for this class exactly as it does
in -Plain. The parameters are named, which makes the config code easier
to read. At the very least ->config should issue a warning if it's not
meant to be used.