[Catalyst] DBI Models Question.
Eden Cardim
edencardim at gmail.com
Sun Jun 12 14:52:55 GMT 2011
>>>>> "John" == John Karr <brainbuz at brainbuz.org> writes:
John> The mistake in my code brings up the other question (which applies to ORM
John> models as well): How to get the model to take its parameters from
John> <appname>.conf instead of having to input them directly in the model.
It already works that way, try:
<Model::RSVP>
dsn 'DBI:Pg:dbname=rsvp;host=joomla.brain.buz',
user joomla
password 007drupal
<Model>
--
Eden Cardim Need help with your Catalyst or DBIx::Class project?
Code Monkey http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://blog.edencardim.com/ http://www.shadowcat.co.uk/servers/
http://twitter.com/#!/edenc
More information about the Catalyst
mailing list