diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-08-19 16:17:16 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-08-19 16:17:16 -0300 |
commit | ccf5f2c4a20a9a275dd86f251fa026eee7f344c5 (patch) | |
tree | 7c49d6805f7c685c563c73e2334c9b9897a2eabc /activerecord | |
parent | 3e1ef198e086deb4f212523ce2338a027f0e4155 (diff) | |
download | rails-ccf5f2c4a20a9a275dd86f251fa026eee7f344c5.tar.gz rails-ccf5f2c4a20a9a275dd86f251fa026eee7f344c5.tar.bz2 rails-ccf5f2c4a20a9a275dd86f251fa026eee7f344c5.zip |
Remove old method and comment.
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 4e31f943bc..4c07e6be07 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1912,19 +1912,6 @@ module ActiveRecord end end - def joins_for_table_name(table_name) - join = join_for_table_name(table_name) - result = nil - if join && join.is_a?(JoinAssociation) - result = [join] - if join.parent && join.parent.is_a?(JoinAssociation) - result = joins_for_table_name(join.parent.aliased_table_name) + - result - end - end - result - end - protected def build(associations, parent = nil) parent ||= @joins.last @@ -1948,7 +1935,6 @@ module ActiveRecord end end - # overridden in InnerJoinDependency subclass def build_join_association(reflection, parent) JoinAssociation.new(reflection, self, parent) end |