aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xactiverecord/lib/active_record/associations.rb4
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