aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-08-19 16:17:16 -0300
committerEmilio Tagua <miloops@gmail.com>2009-08-19 16:17:16 -0300
commitccf5f2c4a20a9a275dd86f251fa026eee7f344c5 (patch)
tree7c49d6805f7c685c563c73e2334c9b9897a2eabc /activerecord
parent3e1ef198e086deb4f212523ce2338a027f0e4155 (diff)
downloadrails-ccf5f2c4a20a9a275dd86f251fa026eee7f344c5.tar.gz
rails-ccf5f2c4a20a9a275dd86f251fa026eee7f344c5.tar.bz2
rails-ccf5f2c4a20a9a275dd86f251fa026eee7f344c5.zip
Remove old method and comment.
Diffstat (limited to 'activerecord')
-rwxr-xr-xactiverecord/lib/active_record/associations.rb14
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