From: Fabien Wernli Date: Tue, 18 Jun 2013 14:40:45 +0000 (+0200) Subject: Fix Can't locate object method "result_source_instance" via package X-Git-Tag: v0.002207~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=commitdiff_plain;h=823a39c30ce9192a438dfba68b5ef78265869ca9 Fix Can't locate object method "result_source_instance" via package "MyApp::Schema::DBICDHStorageResult" (perhaps you forgot to load "MyApp::Schema::DBICDHStorageResult"?) at /usr/share/perl5/DBIx/Class/Schema.pm line 1314 --- diff --git a/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod b/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod index 52b0ae7..638f813 100644 --- a/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod +++ b/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod @@ -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';