diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-11-09 19:14:28 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-11-09 19:14:28 +0000 |
commit | 21350d226e525a70a29076b65455193a0255a5c3 (patch) | |
tree | 91c28e003f0fa930bd2fe3f44934c83b6415620e | |
parent | 5dc3f91832fd8580287e5cbeba478bb8b9580dc1 (diff) | |
download | rails-21350d226e525a70a29076b65455193a0255a5c3.tar.gz rails-21350d226e525a70a29076b65455193a0255a5c3.tar.bz2 rails-21350d226e525a70a29076b65455193a0255a5c3.zip |
Removed unused code (closes #9906)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 4 |
1 files changed, 0 insertions, 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 |