[Catalyst] Can't locate object method "storage" via package "MyApp::Model::DB"

Chris Weyl cweyl at alumni.drew.edu
Thu Jan 7 18:16:35 GMT 2010

On Thu, Jan 7, 2010 at 9:26 AM, Matthias Dietrich <mdietrich at cpan.org> wrote:
> Hi,
> after upgrading every perl module on my dev system weeks ago I get many errors like
>  Can't locate object method "storage" via package "MyApp::Model::DB"

This sounds like what I ran into yesterday, after upgrading
Catalyst::Model::DBIC::Schema to 0.35.  I suspect you need to add the
SchemaProxy[1] trait to your model.


[1] http://search.cpan.org/perldoc?Catalyst::TraitFor::Model::DBIC::Schema::SchemaProxy

Chris Weyl
Ex astris, scientia

More information about the Catalyst mailing list