From: Robert Buels Date: Sat, 20 Feb 2010 06:47:39 +0000 (-0800) Subject: fixed test failure X-Git-Tag: 0.06000~90^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ff098bf32d8f60e45a01e1431a3a774f3f7b0e6f;p=dbsrgits%2FDBIx-Class-Schema-Loader.git fixed test failure --- diff --git a/lib/DBIx/Class/Schema/Loader/RelBuilder.pm b/lib/DBIx/Class/Schema/Loader/RelBuilder.pm index 72a567e..de0e9e8 100644 --- a/lib/DBIx/Class/Schema/Loader/RelBuilder.pm +++ b/lib/DBIx/Class/Schema/Loader/RelBuilder.pm @@ -275,7 +275,7 @@ sub _relnames_and_methods { $remote_relname .= $colnames if keys %$cond > 1; my $old_relname = #< TODO: remove me after 0.05003 release - my $local_relname = lc($local_table) . $colnames; + $local_relname = lc($local_table) . $colnames; my $stripped_id = $local_relname =~ s/_id$//; #< strip off any trailing _id $local_relname = $self->_inflect_plural( $local_relname );