Was speaking with castaway in IRC, and discovered belongs_to didn't seem 
to work (in this case) without fully specifying the package name:

__PACKAGE__->belongs_to('role' => 'Role');
# The above line doesn't work, the below does
#__PACKAGE__->belongs_to('role' => 'Schema::Role');

Ash

(I sent this before on the 24th, but it didn't seem to make it through)



_______________________________________________
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/

Reply via email to