projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
59f27fc
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSourceHandle.pm
b/lib/DBIx/Class/ResultSourceHandle.pm
index
d7d0190
..
33204df
100644
(file)
--- a/
lib/DBIx/Class/ResultSourceHandle.pm
+++ b/
lib/DBIx/Class/ResultSourceHandle.pm
@@
-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