X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSourceHandle.pm;h=cd5c45c209b96123929a7618ddb0ef1f777e1cbf;hb=d9672fb94b70dac86a6d4fed7ad46a48c5ee4527;hp=d7d0190a45cccfee57f2208eac4c57e02fdb1467;hpb=7cfda9a6b80a051ffd5b180c4d34b66eae0de38d;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/ResultSourceHandle.pm b/lib/DBIx/Class/ResultSourceHandle.pm index d7d0190..cd5c45c 100644 --- a/lib/DBIx/Class/ResultSourceHandle.pm +++ b/lib/DBIx/Class/ResultSourceHandle.pm @@ -87,7 +87,7 @@ sub STORABLE_freeze { =head2 STORABLE_thaw Thaws frozen handle. Resets the internal schema reference to the package -variable C<$thaw_schema>. The recomened way of setting this is to use +variable C<$thaw_schema>. The recommended way of setting this is to use C<< $schema->thaw($ice) >> which handles this for you. =cut @@ -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