my %cond;
@cond{@$remote_cols} = @$local_cols;
- my ( $remote_relname, $local_relname, $remote_method ) =
+ my ( $local_relname, $remote_relname, $remote_method ) =
$self->_relnames_and_method( $local_moniker, $rel, \%cond, $uniqs, \%counters );
my $local_method = 'belongs_to';
}
}
- return ($remote_relname, $local_relname, $remote_method);
+ return ($local_relname, $remote_relname, $remote_method);
}
sub _rel_name_map {
($remote_relname) = $self->_inflect_plural(lc $local_table);
}
- return ( $remote_relname, $local_relname, 'has_many' );
+ return ( $local_relname, $remote_relname, 'has_many' );
}
sub _remote_attrs { }
($remote_relname) = $self->_inflect_singular($remote_relname_uninflected);
}
- return ( $remote_relname, $local_relname, $remote_method );
+ return ( $local_relname, $remote_relname, $remote_method );
}
=head1 NAME