1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Removed unused code (closes #9906)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2007-11-09 19:14:28 +00:00
parent 5dc3f91832
commit 21350d226e

View file

@ -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