Fix Can't locate object method "result_source_instance" via package
Fabien Wernli [Tue, 18 Jun 2013 14:40:45 +0000 (16:40 +0200)]
"MyApp::Schema::DBICDHStorageResult" (perhaps you forgot to load
"MyApp::Schema::DBICDHStorageResult"?) at
/usr/share/perl5/DBIx/Class/Schema.pm line 1314

lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod

index 52b0ae7..638f813 100644 (file)
@@ -18,6 +18,10 @@ shows how one can do it in style:
 =head2 Version Storage
 
  package MyApp::Schema::DBICDHStorage;
+ # the following is necessary for some setups
+ use MyApp::Schema::DBICDHStorageResult;
  use Moose;
  extends 'DBIx::Class::DeploymentHandler::VersionStorage::Standard';