improved warn for Storable hooks in ResultSourceHandle
Wallace Reis [Mon, 7 Sep 2009 13:31:38 +0000 (13:31 +0000)]
lib/DBIx/Class/ResultSourceHandle.pm

index d7d0190..33204df 100644 (file)
@@ -106,7 +106,8 @@ sub STORABLE_thaw {
         $self->{schema} = $rs->schema if $rs;
     }
 
-    carp "Unable to restore schema" unless $self->{schema};
+    carp "Unable to restore schema. Look at 'freeze' and 'thaw' methods in DBIx::Class::Schema."
+        unless $self->{schema};
 }
 
 =head1 AUTHOR