Hi Richard On Thu, 2008-09-11 at 18:39 +0100, Richard Jones wrote: > Anyone using Rose::DB and CGI:Application::Plugin::Authentication > together? There's a plugin for DBIC but I can't work out how to clone > that functionality for Rose. At the moment I'm doing: > > $c->dbh_config( My::DB->new() ); # My::DB @ISA = qw(Rose::DB); > > then, > > DRIVER => [ 'DBI', > DBH => $c->dbh, > etc, > ], > > > It works, but I'm not sure that's the right way to do it, as it doesn't > seem to be using the ORM (ie db classes & schema) in the way that the > DBIC driver does. Any help/pointers appreciated.
I'm not doing exactly that, but firstly I'd suggest check the Rose::DB docs for the method retain_dbh(), just in case it's relevant. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
