On 4/7/06, Brandon Black <[EMAIL PROTECTED]> wrote:
> On 4/7/06, Florian Ragwitz <[EMAIL PROTECTED]> wrote:
> > On Tue, Jan 31, 2006 at 10:54:26AM -0600, Brandon Black wrote:
> > > Thoughts on all of this, anyone?
> >
> > I'd like to suggest a storage method.
> >
> >   sub storage { shift->schema->storage(@_); }
> >
> > This would make it possible to use Catalyst::Model::DBIC::Schema with
> > Catalyst::Plugin::Session::Store::DBI, which basically does
> >
> >   eval { $dbh = $class->storage->dbh };
> >
> > to get the dbh to work with later. Unfortunately this will currently
> > fail with Catalyst::Model::DBIC::Schema as
> > Catalyst::Plugin::Session::Store::DBI won't be able to get a dbh.
> >
> >
>
> Sounds reasonable, I'll stick that into the model.

I just pushed Session::Store::DBI 0.07 to CPAN which includes Schema
support.  It's been sitting in trunk for a while and I forgot to
release it, sorry about that.

http://pause.perl.org/incoming/Catalyst-Plugin-Session-Store-DBI-0.07.tar.gz

-Andy

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/

Reply via email to