On 7/21/06, Brandon Black <[EMAIL PROTECTED]> wrote:
>
> Check that...
>
> My::Schema ISA DBIx::Class::Schema
> My::Schema::User ISA My::Schema::BaseClass
> My::Schema::BaseClass ISA DBIx::Class

Brandon,
As I just replied to Christopher, the problem was happening when
load_classes() tried to load My::Schema::BaseClass, which has no
table/column definitions. What are you doing in your base class that
you don't get the error I was initially getting?

Here's my BaseClass.pm. Should I have some sort of DBIC setup calls there?

  package My::Schema::BaseClass;
  use strict;
  use base qw(DBIx::Class);
  sub foo { my $self = shift; print "Foo!\n"; }
  1;

Thanks,
Drew
-- 
----------------------------------------------------------------
 Drew Taylor                 *  Web development & consulting
 Email: [EMAIL PROTECTED]  *  Site implementation & hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 ----------------------------------------------------------------

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to