fix _build_storage as per ribasushis suggestions
Arthur Axel 'fREW' Schmidt [Mon, 22 Feb 2010 16:56:07 +0000 (10:56 -0600)]
lib/DBIx/Class/DeploymentHandler.pm

index a8380a7..0b176bd 100644 (file)
@@ -32,7 +32,11 @@ has storage => (
    lazy_build => 1,
 );
 
-method _build_storage { $self->schema->storage }
+method _build_storage {
+   my $s = $self->schema->storage;
+   $s->_determine_driver;
+   $s
+}
 
 has _filedata => (
    isa => 'Str',