From 21350d226e525a70a29076b65455193a0255a5c3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 9 Nov 2007 19:14:28 +0000 Subject: [PATCH] Removed unused code (closes #9906) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/associations.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index f6ee5e1d07..3af6f0442a 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1431,10 +1431,6 @@ module ActiveRecord end end - def aliased_table_names_for(table_name) - joins.select{|join| join.table_name == table_name }.collect{|join| join.aliased_table_name} - end - protected def build(associations, parent = nil) parent ||= @joins.last