in reply to How to add TO_JSON base method for DBIC Result in Catalyst
Castaway advised on irc.perl.org #catalyst this was a DBIx::Class issue with Base being in the same namespace/folder as the other result classes. The solution is to move the base class up or out.
Thanks!package MyApp::Schema::DB::ResultBase; extends 'DBIx::Class::Core'; ... package MyApp::Schema::DB::Result::Table; extends 'MyApp::Schema::DB::ResultBase'; ...
--Solo
--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
|
---|
In Section
Seekers of Perl Wisdom