--- DBIx-Class-Schema-Loader-0.03008/lib/DBIx/Class/Schema/Loader/RelBuilder.pm 2006-10-20 11:17:10.000000000 -0700 +++ ebusinesssphere/lib/DBIx/Class/Schema/Loader/RelBuilder.pm 2006-11-14 14:59:00.000000000 -0800 @@ -194,7 +194,7 @@ push(@{$all_code->{$local_class}}, { method => 'belongs_to', args => [ $remote_relname, - $remote_moniker, + $remote_class, \%cond, ], } @@ -203,7 +203,7 @@ push(@{$all_code->{$remote_class}}, { method => 'has_many', args => [ $local_relname, - $local_moniker, + $local_class, \%rev_cond, ], }