[Dbix-class] Configuration query - Catalyst::Model::DBIC::Schema
Matt S Trout
dbix-class at trout.me.uk
Thu Jul 31 23:45:26 BST 2008
On Wed, Jul 30, 2008 at 03:50:40PM +0100, Dermot wrote:
> 2008/7/30 Matt S Trout <dbix-class at trout.me.uk>:
> > On Tue, Jul 29, 2008 at 09:15:42AM +0100, Dermot wrote:
> >> 2008/7/28 Matt S Trout <dbix-class at trout.me.uk>:
> >>
> >> I don't want to stray off the topic. I used
> >
> > that explains __HOME__ versus path_to.
>
> It would be useful to know where these vars are documented.
In the COnfigLoader docs like everything related to your config file.
You'll find there's an __path_to(...)__ one that will solve your db
file location problem.
> > my key point was "put the connect_info in the right damn place".
>
> I hear you. I have been trying. I did manage to get my import script
> to work with
>
> <MyApp::Model::MyAppDB>
> connect_info dbi:SQLite:__HOME__/motion.db
> # connect_info SQLITE NoUser
> <MyApp::Model::MyAppDB>
>
> Once I used the fully qualified the name to my model.
That's completely wrong. That's still a no-op.
I told you how it works. Please actually try that.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the DBIx-Class
mailing list