Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to add TO_JSON base method for DBIC Result in Catalyst

by Solo (Deacon)
on Aug 20, 2011 at 17:10 UTC ( #921424=note: print w/replies, xml ) Need Help??


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.

package MyApp::Schema::DB::ResultBase; extends 'DBIx::Class::Core'; ... package MyApp::Schema::DB::Result::Table; extends 'MyApp::Schema::DB::ResultBase'; ...

Thanks!

--Solo

--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://921424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-05-19 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?