in reply to trouble subclassing DBIx::Class Resultsets (when using Catalyst?)

With the help from some kind people at #dbix-class I was able to work my error out, I share it for the next poor soul who runs into this.

My error was simply not groking, that when used with Catalyst, the resultset class needs to be located in lib/MyApp/Resultset/Table.pm. Duh! So simple.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: trouble subclassing DBIx::Class Resultsets (when using Catalyst?)
by Anonymous Monk on Oct 09, 2008 at 07:37 UTC
    The location should be lib/MyApp/ResultSet/Table.pm (notice the capital S in ResultSet) to be consistent with your class name above.